Exempt exact alarms using listener from permission
Listener alarms rely on the caller staying in valid lifecycle till the alarm expires. In this case the caller should be encouraged to use exact alarms for use-cases requiring timing precisions without needing additional user consent. Adding explicit reason codes for listener and prioritized alarms for logging when these alarms are also exact. Also reducing the quota of listener allow-while-idle alarms to match other alarms that do not require permission. Test: atest CtsAlarmManagerTestCases:ExactAlarmsTest Bug: 228125912 Change-Id: I7636126c411b174a71ad91583c9fbd9d9457623d
Loading
Please register or sign in to comment