Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 447d57e8 authored by Wenyu Zhang's avatar Wenyu Zhang Committed by Android (Google) Code Review
Browse files

Merge "Order flag alphabetically" into main

parents 009689e7 6281b517
Loading
Loading
Loading
Loading
+76 −74
Original line number Diff line number Diff line
package: "com.android.media.flags"
container: "system"

flag {
    name: "enable_rlp_callbacks_in_media_router2"
    is_exported: true
    namespace: "media_solutions"
    description: "Make RouteListingPreference getter and callbacks public in MediaRouter2."
    bug: "281067101"
}
# Flags are ordered alphabetically by name.

flag {
    name: "adjust_volume_for_foreground_app_playing_audio_without_media_session"
@@ -16,6 +10,13 @@ flag {
    bug: "275185436"
}

flag {
    name: "enable_audio_input_device_routing_and_volume_control"
    namespace: "media_better_together"
    description: "Allows audio input devices routing and volume control via system settings."
    bug: "355684672"
}

flag {
    name: "enable_audio_policies_device_and_bluetooth_controller"
    is_exported: true
@@ -25,64 +26,70 @@ flag {
}

flag {
    name: "fallback_to_default_handling_when_media_session_has_fixed_volume_handling"
     name: "enable_built_in_speaker_route_suitability_statuses"
     is_exported: true
     namespace: "media_solutions"
    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."
    bug: "293743975"
     description: "Make MediaRoute2Info provide information about routes suitability for transfer."
     bug: "279555229"
}

flag {
    name: "enable_waiting_state_for_system_session_creation_request"
    name: "enable_cross_user_routing_in_media_router2"
    is_exported: true
    namespace: "media_solutions"
    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."
    bug: "307723189"
    description: "Allows clients of privileged MediaRouter2 that hold INTERACT_ACROSS_USERS_FULL to control routing across users."
    bug: "288580225"
}

flag {
    name: "enable_new_media_route_2_info_types"
    is_exported: true
    namespace: "media_solutions"
    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."
    bug: "301713440"
    name: "enable_full_scan_with_media_content_control"
    namespace: "media_better_together"
    description: "Allows holders of the MEDIA_CONTENT_CONTROL permission to scan for routes while not in the foreground."
    bug: "352401364"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_new_wired_media_route_2_info_types"
    name: "enable_get_transferable_routes"
    is_exported: true
    namespace: "media_tv"
    description: "Enables the following type constant in MediaRoute2Info: LINE_ANALOG, LINE_DIGITAL, AUX_LINE"
    bug: "375691732"
    namespace: "media_solutions"
    description: "Exposes RoutingController#getTransferableRoutes() (previously hidden) to the public API."
    bug: "323154573"
}

flag {
    name: "enable_privileged_routing_for_media_routing_control"
    is_exported: true
    namespace: "media_solutions"
    description: "Allow access to privileged routing capabilities to MEDIA_ROUTING_CONTROL holders."
    bug: "305919655"
    name: "enable_mirroring_in_media_router_2"
    namespace: "media_better_together"
    description: "Enables support for mirroring routes in the MediaRouter2 framework, allowing Output Switcher to offer mirroring routes."
    bug: "362507305"
}

flag {
    name: "enable_cross_user_routing_in_media_router2"
    is_exported: true
    name: "enable_mr2_service_non_main_bg_thread"
    namespace: "media_solutions"
    description: "Allows clients of privileged MediaRouter2 that hold INTERACT_ACROSS_USERS_FULL to control routing across users."
    bug: "288580225"
    description: "Enables the use of a background thread in the media routing framework, instead of using the main thread."
    bug: "310145678"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_use_of_bluetooth_device_get_alias_for_mr2info_get_name"
    name: "enable_new_media_route_2_info_types"
    is_exported: true
    namespace: "media_solutions"
    description: "Use BluetoothDevice.getAlias to populate the name of Bluetooth MediaRoute2Infos."
    bug: "314324170"
    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."
    bug: "301713440"
}

flag {
     name: "enable_built_in_speaker_route_suitability_statuses"
    name: "enable_new_wired_media_route_2_info_types"
    is_exported: true
     namespace: "media_solutions"
     description: "Make MediaRoute2Info provide information about routes suitability for transfer."
     bug: "279555229"
    namespace: "media_tv"
    description: "Enables the following type constant in MediaRoute2Info: LINE_ANALOG, LINE_DIGITAL, AUX_LINE"
    bug: "375691732"
}

flag {
@@ -94,11 +101,10 @@ flag {
}

flag {
    name: "enable_get_transferable_routes"
    is_exported: true
    name: "enable_null_session_in_media_browser_service"
    namespace: "media_solutions"
    description: "Exposes RoutingController#getTransferableRoutes() (previously hidden) to the public API."
    bug: "323154573"
    description: "Enables apps owning a MediaBrowserService to disconnect all connected browsers."
    bug: "185136506"
}

flag {
@@ -109,60 +115,56 @@ flag {
}

flag {
    name: "enable_mr2_service_non_main_bg_thread"
    name: "enable_prevention_of_manager_scans_when_no_apps_scan"
    namespace: "media_solutions"
    description: "Enables the use of a background thread in the media routing framework, instead of using the main thread."
    bug: "310145678"
    description: "Prevents waking up route providers when no apps are scanning, even if SysUI or Settings are scanning."
    bug: "319604673"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_screen_off_scanning"
    name: "enable_privileged_routing_for_media_routing_control"
    is_exported: true
    namespace: "media_solutions"
    description: "Enable new MediaRouter2 API to enable watch companion apps to scan while the phone screen is off."
    bug: "281072508"
    description: "Allow access to privileged routing capabilities to MEDIA_ROUTING_CONTROL holders."
    bug: "305919655"
}

flag {
    name: "enable_null_session_in_media_browser_service"
    name: "enable_rlp_callbacks_in_media_router2"
    is_exported: true
    namespace: "media_solutions"
    description: "Enables apps owning a MediaBrowserService to disconnect all connected browsers."
    bug: "185136506"
    description: "Make RouteListingPreference getter and callbacks public in MediaRouter2."
    bug: "281067101"
}

flag {
    name: "enable_prevention_of_manager_scans_when_no_apps_scan"
    name: "enable_screen_off_scanning"
    is_exported: true
    namespace: "media_solutions"
    description: "Prevents waking up route providers when no apps are scanning, even if SysUI or Settings are scanning."
    bug: "319604673"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
    description: "Enable new MediaRouter2 API to enable watch companion apps to scan while the phone screen is off."
    bug: "281072508"
}

flag {
    name: "enable_full_scan_with_media_content_control"
    namespace: "media_better_together"
    description: "Allows holders of the MEDIA_CONTENT_CONTROL permission to scan for routes while not in the foreground."
    bug: "352401364"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
    name: "enable_use_of_bluetooth_device_get_alias_for_mr2info_get_name"
    namespace: "media_solutions"
    description: "Use BluetoothDevice.getAlias to populate the name of Bluetooth MediaRoute2Infos."
    bug: "314324170"
}

flag {
    name: "enable_audio_input_device_routing_and_volume_control"
    namespace: "media_better_together"
    description: "Allows audio input devices routing and volume control via system settings."
    bug: "355684672"
    name: "enable_waiting_state_for_system_session_creation_request"
    namespace: "media_solutions"
    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."
    bug: "307723189"
}

flag {
    name: "enable_mirroring_in_media_router_2"
    namespace: "media_better_together"
    description: "Enables support for mirroring routes in the MediaRouter2 framework, allowing Output Switcher to offer mirroring routes."
    bug: "362507305"
    name: "fallback_to_default_handling_when_media_session_has_fixed_volume_handling"
    namespace: "media_solutions"
    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."
    bug: "293743975"
}