Browse Source

permission for alarm schedule in Android 12

yattoz 2 years ago
parent
commit
355ac8cd01
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/src/main/AndroidManifest.xml

+ 1 - 0
app/src/main/AndroidManifest.xml View File

11
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
11
     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
12
     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <!-- needed for API 28 -->
12
     <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <!-- needed for API 28 -->
13
 
13
 
14
+    <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
14
     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
15
     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
15
     <uses-permission android:name="android.permission.SET_ALARM"/>
16
     <uses-permission android:name="android.permission.SET_ALARM"/>
16
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
17
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>