Changes to "Alarms and Reminders" permission
Calling AlarmManager to know the state of the permission, which is now the source of truth, as the logic deciding the state of the permission may change. Also killing the app when the permission changes to denied, this avoids the app maintaining stale state about this permission. Test: make -j RunSettingsRoboTests atest SettingsUnitTests:AppStateAlarmsAndRemindersBridgeTest Manually: Toggle the state of an app to "Not allowed" and check the logs for activity manager kill messages. Bug: 181152252 Bug: 183136253 Change-Id: I438782eaef4caae50fd76685c675a3e45ee28d9f
Loading
Please register or sign in to comment