summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2015-08-03 15:10:57 -0700
committerMakoto Onuki <omakoto@google.com>2015-08-03 15:10:57 -0700
commitad4c63b53d1e2b9b632833fb989a1aa444588de3 (patch)
tree96254a86c0d91be520b98987cfc79c20a32f1924 /telephony/java
parent87920455ae63deb0b7d14df06edeb879e6494cc1 (diff)
downloadframeworks_base-ad4c63b53d1e2b9b632833fb989a1aa444588de3.zip
frameworks_base-ad4c63b53d1e2b9b632833fb989a1aa444588de3.tar.gz
frameworks_base-ad4c63b53d1e2b9b632833fb989a1aa444588de3.tar.bz2
READ_SMS allows getLine1Number() [1/3]
Bug 22862050 Change-Id: I45dba41423dd3313984c93a6e674f37410fb3050
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index 0bb04f8..2415165 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -2060,6 +2060,8 @@ public class TelephonyManager {
* <p>
* Requires Permission:
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
+ * OR
+ * {@link android.Manifest.permission#READ_SMS}
* <p>
* The default SMS app can also use this.
*/
@@ -2073,6 +2075,8 @@ public class TelephonyManager {
* <p>
* Requires Permission:
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
+ * OR
+ * {@link android.Manifest.permission#READ_SMS}
* <p>
* The default SMS app can also use this.
*