summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Jia <xiaotonj@google.com>2021-04-21 11:48:10 -0700
committerGrace Jia <xiaotonj@google.com>2021-05-10 16:29:46 +0000
commit08186f1553b9f427ad1786a0bdd0b9f7be1b290f (patch)
treee9700fa34e5e575576b01f4753f83afe9bec1f24
parent95f47b2616e72434dca6d106a0a22c664c045c59 (diff)
downloadCallLogProvider-08186f1553b9f427ad1786a0bdd0b9f7be1b290f.tar.gz
For packages don't have READ_VOICEMAIL permission, CallLogProvider will limit its access to voicemails by applying strict grammar check. Add this permission to CallLogBackupAgent to avoid exception when backup and restore. Bug: 184244328 Test: Manually restore the device Change-Id: I9e458195bbcc51edaf7f90e5d1efe74f43d49fe1
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 69001e3..e3f43a1 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -4,6 +4,7 @@
android:sharedUserLabel="@string/sharedUserLabel">
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
+ <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
<application android:label="@string/app_label"
android:allowBackup="true"