summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sooraj Sasindran <sasindran@google.com> 2024-01-05 01:02:26 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-01-05 01:02:26 +0000
commit4797fc9a04880f783d8e899e1a8f57cf62a64510 (patch)
tree5431bb71ffc1cd36954e98659d453143cf6be7d0
parent5e4b9840fcd92ee1cf5dd9ceed5e680e56d2c793 (diff)
parent6f01f71f193c92c0ef2639c1138c1682758608e2 (diff)
Merge "Fix the java docs for getDefaultSmsPackage API" into main
-rw-r--r--core/java/android/provider/Telephony.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java
index 59b945c9c9a4..db48bade4d28 100644
--- a/core/java/android/provider/Telephony.java
+++ b/core/java/android/provider/Telephony.java
@@ -366,11 +366,13 @@ public final class Telephony {
* <p>
* As of Android 11 apps will need specific permission to query other packages. To use
* this method an app must include in their AndroidManifest:
+ * <pre>{@code
* <queries>
* <intent>
* <action android:name="android.provider.Telephony.SMS_DELIVER"/>
* </intent>
* </queries>
+ * }</pre>
* Which will allow them to query packages which declare intent filters that include
* the {@link android.provider.Telephony.Sms.Intents#SMS_DELIVER_ACTION} intent.
* </p>