diff options
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
| -rw-r--r-- | app/src/main/AndroidManifest.xml | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 325a2cf..a91bd3a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,13 +3,6 @@ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> - <!-- For the 5am morning-fetch alarm (MorningFetchReceiver): lets it wake the device - at an exact time even under Doze, without the much broader "ignore battery - optimizations" exemption (user explicitly wants battery optimization left on - otherwise). Android 12+ requires the user grant this once via Settings; MainActivity - prompts for it if not already granted. --> - <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> <application android:label="@string/app_name" @@ -47,18 +40,5 @@ </intent-filter> </activity> - <!-- - Fires the 5am morning fetch (exact alarm, set up by MorningFetchReceiver.scheduleNext, - called from MainActivity). Also re-arms that alarm after a reboot: an exact alarm - set via AlarmManager does NOT survive a device restart on its own. - --> - <receiver - android:name=".work.MorningFetchReceiver" - android:exported="false"> - <intent-filter> - <action android:name="android.intent.action.BOOT_COMPLETED" /> - </intent-filter> - </receiver> - </application> </manifest> |
