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

Skip to content
Commit 49da9beb authored by Santiago Seifert's avatar Santiago Seifert
Browse files

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
parent f7e317a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment