summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrace Jia <xiaotonj@google.com>2021-06-09 20:51:31 -0700
committerGrace Jia <xiaotonj@google.com>2021-06-09 20:51:31 -0700
commite072f8b83882177bdf4af88c7fe9e6b6cabc6345 (patch)
tree2842b4df5a63d285f3a8a7121175800c1b8e5f5c
parentc1b0979811c492ad2b452be94456c4bd8b4e3521 (diff)
downloadUserDictionaryProvider-e072f8b83882177bdf4af88c7fe9e6b6cabc6345.tar.gz
Add READ_PHONE_NUMBERS permission to get phone account from Telecom.
Bug: 183407956 Test: UnitTest, CTS test Change-Id: I622887ec2621be1e8f46c5f8d7067ecae2cd984a
-rw-r--r--AndroidManifest.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c14287c..37860c4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -4,9 +4,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -18,6 +18,8 @@
package="com.android.providers.userdictionary"
android:sharedUserId="android.uid.shared">
+ <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
+
<application android:process="android.process.acore"
android:label="@string/app_label"
android:allowClearUserData="false"