diff options
| author | 2024-07-19 17:43:01 +0000 | |
|---|---|---|
| committer | 2024-07-23 21:49:19 +0000 | |
| commit | 49da9beb0e986210c5f6912dbd35618b92305c9d (patch) | |
| tree | 315da8cf16993cec7f12a28c9554f2746fe40d1a /api/api_test.go | |
| parent | f7e317a64580cf20a7ccd52a6ce5c9ed9b7b4bd9 (diff) | |
Allow screenOffScan to holders of MEDIA_CONTENT_CONTROL
Before this change, only holders of MEDIA_ROUTING_CONTROL are allowed to
perform screen off scans. But MEDIA_ROUTING_CONTROL is an appopp
permission that's not available to privileged apps via pre-granting.
MEDIA_CONTENT_CONTROL is a privileged permission that's pre-grantable.
Bug: b/352401364
Test: atest CtsMediaBetterTogetherTestCases CtsMediaHostTestCases
Flag: com.android.media.flags.enable_full_scan_with_media_content_control
Change-Id: I1118bf56a03977ddcfdf37c21f14f532ff3ad0d5
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions