Allow to exempt apps from restrictions to RECORD_AUDIO
- Extend the concept if "isPrivilidged" to a generic "RestrictionBypass" class so that we can add more variants of bypassing. - Add a new way of bypassing by using a new permission. - Always except resolvable UIDs (root, shell, media_uid, audioserver, cameraserver, system server) from restrictions. Fixes: 141210120 Test: atest -m CtsAppOpsTestCases FrameworksMockingServicesTests:AppOpsServiceTest FrameworksMockingServicesTests:AppOpsUpgradeTest Change-Id: I3ca555e9370aa0003400429ee7ab12e95c62a042
Loading
Please register or sign in to comment