Created
October 6, 2021 17:06
-
-
Save igorescodro/9af633d2ab28582c11c9874e6dcda2df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val alarmManager: AlarmManager = getSystemService(Context.ALARM_SERVICE) as AlarmManager | |
val hasPermission: Boolean = alarmManager.canScheduleExactAlarms() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment