summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2021-04-09 14:45:07 -0700
committerSuprabh Shukla <suprabh@google.com>2021-04-09 14:45:09 -0700
commit1f791d2bea21a574401d0ddb0b20fbc2005203fa (patch)
treeb7ecbab57a3e2778ebdc6750d453c150215c021b
parent55eb94e7d478ea4f0b332d97779b671b6373b8cc (diff)
downloadCalendarProvider-1f791d2bea21a574401d0ddb0b20fbc2005203fa.tar.gz
Remove SCHEDULE_EXACT_ALARM permission
The permission is user visible and can cause calendar apps to malfunction if revoked, even if the calendar apps themselves have this permission. This is a system component and not user visible, so we should do our best to not confuse the user by showing this to them as a separate "app". Upgrading the allow-list should let the provider use exact alarms while the device is in doze. Test: Manually navigate to: Settings -> Apps -> Special app access -> Alarms & Reminders -> 3-dot menu -> Show system No entry should be shown as "Calendar Storage". logcat should show no crashes for "com.android.providers.calendar" Bug: 171306433 Change-Id: I5c7ce5a6e0accaf05520b326b0eb956013393d10
-rw-r--r--AndroidManifest.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 48a39e5..c93bb8e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -42,7 +42,6 @@
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
<uses-permission android:name="android.permission.LOG_COMPAT_CHANGE" />
<uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
- <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<application android:label="@string/calendar_storage"
android:allowBackup="false"