commit | ded4a734d163ed022e84940c3786cf99a80b0f06 | [log] [tgz] |
---|---|---|
author | Beth Thibodeau <ethibodeau@google.com> | Tue Feb 08 12:56:42 2022 -0500 |
committer | Beth Thibodeau <ethibodeau@google.com> | Thu Feb 10 11:00:00 2022 -0500 |
tree | 096b13fb1f0ad07b938956ee97947ffb3c1d1962 | |
parent | 4353b0b03fbe8f18cd1c994b95791c08a88e9848 [diff] |
Add SystemAPI to override default media output switcher To support RCN use case, allow system apps with the MEDIA_CONTENT_CONTROL permission to declare that their MediaStyle notification is for remote playback, and pass in their own device name, icon, and intent to use in place of the default output switcher that appears on the media controls Bug: 204910409 Test: atest Test: manual with test app Change-Id: Icbfa288c48da9c2ab2fdfdd6b0bfe2b545afaac0