Scheduling Exact Alarms Without Required Permission
Scheduling Exact Alarms Without Required Permission
Applications looking to schedule exact alarms should ensure that the SCHEDULE_EXACT_ALARM
permission is granted by calling the AlarmManager#canScheduleExactAlarms
API before attempting to set an exact alarm. If the permission is not granted to your application, please consider requesting it from the user by starting the ACTION_REQUEST_SCHEDULE_EXACT_ALARM
intent or gracefully falling back to another option.
Issue id: ScheduleExactAlarm
https://developer.android.com/training/scheduling/alarms#exact
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023