1package: "com.android.media.flags" 2container: "system" 3 4# Flags are ordered alphabetically by name. 5 6flag { 7 name: "adjust_volume_for_foreground_app_playing_audio_without_media_session" 8 namespace: "media_solutions" 9 description: "Gates whether to adjust local stream volume when the app in the foreground is the last app to play audio or adjust the volume of the last active media session that the user interacted with." 10 bug: "275185436" 11} 12 13flag { 14 name: "enable_audio_input_device_routing_and_volume_control" 15 namespace: "media_better_together" 16 description: "Allows audio input devices routing and volume control via system settings." 17 bug: "355684672" 18} 19 20flag { 21 name: "enable_audio_policies_device_and_bluetooth_controller" 22 is_exported: true 23 namespace: "media_solutions" 24 description: "Use Audio Policies implementation for device and Bluetooth route controllers." 25 bug: "280576228" 26} 27 28flag { 29 name: "enable_built_in_speaker_route_suitability_statuses" 30 is_exported: true 31 namespace: "media_solutions" 32 description: "Make MediaRoute2Info provide information about routes suitability for transfer." 33 bug: "279555229" 34} 35 36flag { 37 name: "enable_cross_user_routing_in_media_router2" 38 is_exported: true 39 namespace: "media_solutions" 40 description: "Allows clients of privileged MediaRouter2 that hold INTERACT_ACROSS_USERS_FULL to control routing across users." 41 bug: "288580225" 42} 43 44flag { 45 name: "enable_full_scan_with_media_content_control" 46 namespace: "media_better_together" 47 description: "Allows holders of the MEDIA_CONTENT_CONTROL permission to scan for routes while not in the foreground." 48 bug: "352401364" 49 metadata { 50 purpose: PURPOSE_BUGFIX 51 } 52} 53 54flag { 55 name: "enable_get_transferable_routes" 56 is_exported: true 57 namespace: "media_solutions" 58 description: "Exposes RoutingController#getTransferableRoutes() (previously hidden) to the public API." 59 bug: "323154573" 60} 61 62flag { 63 name: "enable_mirroring_in_media_router_2" 64 namespace: "media_better_together" 65 description: "Enables support for mirroring routes in the MediaRouter2 framework, allowing Output Switcher to offer mirroring routes." 66 bug: "362507305" 67} 68 69flag { 70 name: "enable_mr2_service_non_main_bg_thread" 71 namespace: "media_solutions" 72 description: "Enables the use of a background thread in the media routing framework, instead of using the main thread." 73 bug: "310145678" 74 metadata { 75 purpose: PURPOSE_BUGFIX 76 } 77} 78 79flag { 80 name: "enable_new_media_route_2_info_types" 81 is_exported: true 82 namespace: "media_solutions" 83 description: "Enables the following type constants in MediaRoute2Info: CAR, COMPUTER, GAME_CONSOLE, SMARTPHONE, SMARTWATCH, TABLET, TABLET_DOCKED. Note that this doesn't gate any behavior. It only guards some API int symbols." 84 bug: "301713440" 85} 86 87flag { 88 name: "enable_new_wired_media_route_2_info_types" 89 is_exported: true 90 namespace: "media_tv" 91 description: "Enables the following type constant in MediaRoute2Info: LINE_ANALOG, LINE_DIGITAL, AUX_LINE" 92 bug: "375691732" 93} 94 95flag { 96 name: "enable_notifying_activity_manager_with_media_session_status_change" 97 is_exported: true 98 namespace: "media_solutions" 99 description: "Notify ActivityManager with the changes in playback state of the media session." 100 bug: "295518668" 101} 102 103flag { 104 name: "enable_null_session_in_media_browser_service" 105 namespace: "media_solutions" 106 description: "Enables apps owning a MediaBrowserService to disconnect all connected browsers." 107 bug: "185136506" 108} 109 110flag { 111 name: "enable_prevention_of_keep_alive_route_providers" 112 namespace: "media_solutions" 113 description: "Enables mechanisms to prevent route providers from keeping malicious apps alive." 114 bug: "263520343" 115} 116 117flag { 118 name: "enable_prevention_of_manager_scans_when_no_apps_scan" 119 namespace: "media_solutions" 120 description: "Prevents waking up route providers when no apps are scanning, even if SysUI or Settings are scanning." 121 bug: "319604673" 122 metadata { 123 purpose: PURPOSE_BUGFIX 124 } 125} 126 127flag { 128 name: "enable_privileged_routing_for_media_routing_control" 129 is_exported: true 130 namespace: "media_solutions" 131 description: "Allow access to privileged routing capabilities to MEDIA_ROUTING_CONTROL holders." 132 bug: "305919655" 133} 134 135flag { 136 name: "enable_rlp_callbacks_in_media_router2" 137 is_exported: true 138 namespace: "media_solutions" 139 description: "Make RouteListingPreference getter and callbacks public in MediaRouter2." 140 bug: "281067101" 141} 142 143flag { 144 name: "enable_route_visibility_control_api" 145 namespace: "media_better_together" 146 description: "API changes to allow more control over route visibility by route providers" 147 bug: "367799834" 148 is_exported: true 149} 150 151flag { 152 name: "enable_screen_off_scanning" 153 is_exported: true 154 namespace: "media_solutions" 155 description: "Enable new MediaRouter2 API to enable watch companion apps to scan while the phone screen is off." 156 bug: "281072508" 157} 158 159flag { 160 name: "enable_use_of_bluetooth_device_get_alias_for_mr2info_get_name" 161 namespace: "media_solutions" 162 description: "Use BluetoothDevice.getAlias to populate the name of Bluetooth MediaRoute2Infos." 163 bug: "314324170" 164} 165 166flag { 167 name: "enable_waiting_state_for_system_session_creation_request" 168 namespace: "media_solutions" 169 description: "Introduces a waiting state for the session creation request and prevents it from early failing when the selectedRoute from the bluetooth stack doesn't match the pending request route id." 170 bug: "307723189" 171} 172 173flag { 174 name: "fallback_to_default_handling_when_media_session_has_fixed_volume_handling" 175 namespace: "media_solutions" 176 description: "Fallbacks to the default handling for volume adjustment when media session has fixed volume handling and its app is in the foreground and setting a media controller." 177 bug: "293743975" 178} 179