Change exact alarm permission to be denied by default
The permission SCHEDULE_EXACT_ALARM will change from being allowed by default to denied by default for apps targeting T. However, to reduce user impact, already installed apps will continue having the permission if they did so before this change. To achieve this, app-ops will modify MODE_DEFAULT to MODE_ALLOWED for installed apps that have requested the permission in the same change. Since this upgrade step requires appops service to talk to other system services, moving the upgrade to happen on systemReady. Test: atest FrameworksMockingServicesTests:AppOpsUpgradeTest Test: atest FrameworksMockingServicesTests:AlarmManagerServiceTest Test: atest CtsAlarmManagerTestCases Bug: 226439802 Change-Id: I9c964f8957c6a91deca5035d27d21aa7746d2318
Loading
Please register or sign in to comment