1# Top level framework (android.media) flags 2# Only add flags here which must be included in framework.jar 3# Flags used in both framework.jar and native can be added here 4# 5# Please add flags in alphabetical order. 6 7package: "android.media.audio" 8container: "system" 9 10flag { 11 name: "auto_public_volume_api_hardening" 12 namespace: "media_audio" 13 description: "On AAOS, make volume and ringer SDK APIs in AudioManager no-ops." 14 bug: "302751899" 15} 16 17flag { 18 name: "automatic_bt_device_type" 19 namespace: "media_audio" 20 description: 21 "Enable the automatic Bluetooth audio device type " 22 "categorization based on BluetoothDevice class metadata." 23 bug: "302323921" 24} 25 26flag { 27 name: "concurrent_audio_record_bypass_permission" 28 namespace: "media_audio" 29 description: 30 "New privileged permission to allow bypassing concurrent audio" 31 "capture rules." 32 bug: "374751406" 33 is_exported: true 34} 35 36flag { 37 name: "deprecate_stream_bt_sco" 38 namespace: "media_audio" 39 description: "Deprecate STREAM_BLUETOOTH_SCO" 40 is_exported: true 41 bug: "376756660" 42} 43 44flag { 45 name: "enable_multichannel_group_device" 46 namespace: "media_audio" 47 description: 48 "Enable new audio device type for wireless connected speaker group" 49 "supporting multichannel content." 50 is_exported: true 51 is_fixed_read_only: true 52 bug: "344031109" 53} 54 55flag{ 56 name: "enable_ringtone_haptics_customization" 57 namespace: "media_audio" 58 description: "Enables haptic customization for playing ringtone." 59 bug: "351974934" 60} 61 62flag { 63 name: "feature_spatial_audio_headtracking_low_latency" 64 is_exported: true 65 namespace: "media_audio" 66 description: "Define feature for low latency headtracking for SA" 67 bug: "324291076" 68} 69 70flag { 71 name: "focus_exclusive_with_recording" 72 is_exported: true 73 namespace: "media_audio" 74 description: 75 "Audio focus GAIN_TRANSIENT_EXCLUSIVE only mutes" 76 "notifications when the focus owner is also recording" 77 bug: "316414750" 78} 79 80flag { 81 name: "dolby_ac4_level4_encoding_api" 82 namespace: "media_audio" 83 description: "Feature flag for Dolby AC-4 level 4 AudioFormat encoding." 84 is_fixed_read_only: true 85 bug: "266537650" 86 is_exported: true 87} 88 89# TODO remove 90flag { 91 name: "foreground_audio_control" 92 is_exported: true 93 namespace: "media_audio" 94 description: 95 "Audio focus gain requires FGS or delegation to " 96 "take effect" 97 bug: "296232417" 98 is_fixed_read_only: true 99} 100 101# TODO remove 102flag { 103 name: "focus_freeze_test_api" 104 is_exported: true 105 namespace: "media_audio" 106 description: "\ 107 AudioManager audio focus test APIs:\ 108 AudioManager.enterAudioFocusFreezeForTest(java.util.List)\ 109 AudioManager.exitAudioFocusFreezeForTest()\ 110 AudioManager.getFocusDuckedUidsForTest()\ 111 AudioManager.getFocusFadeOutDurationForTest()\ 112 AudioManager.getFocusUnmuteDelayAfterFadeOutForTest()" 113 bug: "301713440" 114} 115 116flag { 117 name: "hardening_permission_api" 118 is_exported: true 119 namespace: "media_audio" 120 description: "API flag for additional appop/perm constructs for hardening." 121 bug: "376480814" 122} 123 124flag { 125 name: "hardening_permission_spa" 126 is_exported: true 127 namespace: "media_audio" 128 description: "Flag for special app access impl for hardening." 129 bug: "376480814" 130} 131 132flag { 133 name: "iamf_definitions_api" 134 is_exported: true 135 namespace: "media_audio" 136 description: "API definitions for the IAMF format" 137 bug: "337522902" 138} 139 140flag { 141 name: "loudness_configurator_api" 142 is_exported: true 143 namespace: "media_audio" 144 description: "\ 145Enable the API for providing loudness metadata and CTA-2075 \ 146support." 147 bug: "298463873" 148 is_exported: true 149} 150 151flag { 152 name: "mute_background_audio" 153 namespace: "media_audio" 154 description: "mute audio playing in background" 155 bug: "296232417" 156} 157 158flag { 159 name: "muted_by_port_volume_api" 160 namespace: "media_audio" 161 description: "Playback monitoring flag used when player muted by port volume" 162 bug: "319515324" 163 is_exported: true 164} 165 166flag { 167 name: "sco_managed_by_audio" 168 is_exported: true 169 namespace: "media_audio" 170 description: "\ 171Enable new implementation of headset profile device connection and\ 172SCO audio activation." 173 bug: "265057196" 174} 175 176flag { 177 name: "supported_device_types_api" 178 is_exported: true 179 namespace: "media_audio" 180 description: "Surface new API method AudioManager.getSupportedDeviceTypes()" 181 bug: "307537538" 182} 183 184flag { 185 name: "ro_foreground_audio_control" 186 is_exported: true 187 namespace: "media_audio" 188 description: 189 "Audio focus gain requires FGS or delegation to " 190 "take effect" 191 bug: "296232417" 192 is_fixed_read_only: true 193} 194 195flag { 196 name: "ro_volume_ringer_api_hardening" 197 namespace: "media_audio" 198 description: "Limit access to volume and ringer SDK APIs in AudioManager" 199 bug: "296232417" 200 is_fixed_read_only: true 201} 202 203flag { 204 name: "routed_device_ids" 205 namespace: "media_audio" 206 description: 207 "Enable Java and native functions to get" 208 "multiple routed device ids" 209 bug: "367816690" 210 is_exported: true 211} 212 213flag { 214 name: "spatial_audio_settings_versioning" 215 namespace: "media_audio" 216 description: "introduce versioning of spatial audio settings" 217 bug: "377977731" 218} 219 220flag { 221 name: "spatializer_capabilities" 222 namespace: "media_audio" 223 description: "spatializer reports effective channel masks" 224 bug: "377582613" 225 is_exported: true 226} 227 228flag { 229 name: "speaker_cleanup_usage" 230 namespace: "media_audio" 231 description: "Support new AudioAttributes usage for speaker cleanup" 232 bug: "355050846" 233 is_exported: true 234} 235 236flag { 237 name: "speaker_layout_api" 238 namespace: "media_audio" 239 description: "Surface new API method for returning speaker layout channel mask for devices" 240 bug: "337522902" 241 is_exported: true 242} 243 244# TODO remove 245flag { 246 name: "volume_ringer_api_hardening" 247 namespace: "media_audio" 248 description: "Limit access to volume and ringer SDK APIs in AudioManager" 249 bug: "296232417" 250 is_fixed_read_only: true 251} 252