1# Top level framework (android.media) flags 2# Only add flags here which must be included in framework.jar 3# 4# Please add flags in alphabetical order. 5 6package: "android.media.audio" 7container: "system" 8 9flag { 10 name: "auto_public_volume_api_hardening" 11 namespace: "media_audio" 12 description: "On AAOS, make volume and ringer SDK APIs in AudioManager no-ops." 13 bug: "302751899" 14} 15 16flag { 17 name: "automatic_bt_device_type" 18 namespace: "media_audio" 19 description: 20 "Enable the automatic Bluetooth audio device type " 21 "categorization based on BluetoothDevice class metadata." 22 bug: "302323921" 23} 24 25flag { 26 name: "feature_spatial_audio_headtracking_low_latency" 27 is_exported: true 28 namespace: "media_audio" 29 description: "Define feature for low latency headtracking for SA" 30 bug: "324291076" 31} 32 33flag { 34 name: "focus_exclusive_with_recording" 35 is_exported: true 36 namespace: "media_audio" 37 description: 38 "Audio focus GAIN_TRANSIENT_EXCLUSIVE only mutes" 39 "notifications when the focus owner is also recording" 40 bug: "316414750" 41} 42 43# TODO remove 44flag { 45 name: "foreground_audio_control" 46 is_exported: true 47 namespace: "media_audio" 48 description: 49 "Audio focus gain requires FGS or delegation to " 50 "take effect" 51 bug: "296232417" 52 is_fixed_read_only: true 53} 54 55# TODO remove 56flag { 57 name: "focus_freeze_test_api" 58 is_exported: true 59 namespace: "media_audio" 60 description: "\ 61 AudioManager audio focus test APIs:\ 62 AudioManager.enterAudioFocusFreezeForTest(java.util.List)\ 63 AudioManager.exitAudioFocusFreezeForTest()\ 64 AudioManager.getFocusDuckedUidsForTest()\ 65 AudioManager.getFocusFadeOutDurationForTest()\ 66 AudioManager.getFocusUnmuteDelayAfterFadeOutForTest()" 67 bug: "301713440" 68} 69 70flag { 71 name: "loudness_configurator_api" 72 is_exported: true 73 namespace: "media_audio" 74 description: "\ 75Enable the API for providing loudness metadata and CTA-2075 \ 76support." 77 bug: "298463873" 78 is_exported: true 79} 80 81flag { 82 name: "mute_background_audio" 83 namespace: "media_audio" 84 description: "mute audio playing in background" 85 bug: "296232417" 86} 87 88flag { 89 name: "sco_managed_by_audio" 90 is_exported: true 91 namespace: "media_audio" 92 description: "\ 93Enable new implementation of headset profile device connection and\ 94SCO audio activation." 95 bug: "265057196" 96} 97 98flag { 99 name: "supported_device_types_api" 100 is_exported: true 101 namespace: "media_audio" 102 description: "Surface new API method AudioManager.getSupportedDeviceTypes()" 103 bug: "307537538" 104} 105 106flag { 107 name: "ro_foreground_audio_control" 108 is_exported: true 109 namespace: "media_audio" 110 description: 111 "Audio focus gain requires FGS or delegation to " 112 "take effect" 113 bug: "296232417" 114 is_fixed_read_only: true 115} 116 117flag { 118 name: "ro_volume_ringer_api_hardening" 119 namespace: "media_audio" 120 description: "Limit access to volume and ringer SDK APIs in AudioManager" 121 bug: "296232417" 122 is_fixed_read_only: true 123} 124 125 126# TODO remove 127flag { 128 name: "volume_ringer_api_hardening" 129 namespace: "media_audio" 130 description: "Limit access to volume and ringer SDK APIs in AudioManager" 131 bug: "296232417" 132 is_fixed_read_only: true 133} 134