diff options
| author | 2018-02-28 04:25:25 +0000 | |
|---|---|---|
| committer | 2018-02-28 04:25:25 +0000 | |
| commit | f29d2080454ac9a17effeb0309432cb5c566dee3 (patch) | |
| tree | 514e9c92df433f7077fc591cccc41a1a900a0163 | |
| parent | 00fef4fb3d1e121ff12c6d2666f7c2765bcef7cd (diff) | |
| parent | e6691d8e897721e83b7ed6b6df6af63310f5b733 (diff) | |
Merge "Add documentation for SECRET_CODE_ACTION according to API review process."
am: e6691d8e89
Change-Id: I0832ce666883a9054a9252ef93d50e615a64bc79
| -rw-r--r-- | telephony/java/android/telephony/Telephony.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/Telephony.java b/telephony/java/android/telephony/Telephony.java index e7f0cc2423f4..cb87d1fb1d56 100644 --- a/telephony/java/android/telephony/Telephony.java +++ b/telephony/java/android/telephony/Telephony.java @@ -1103,10 +1103,15 @@ public final class Telephony { "android.provider.Telephony.MMS_DOWNLOADED"; /** - * Broadcast Action: A debug code has been entered in the dialer. These "secret codes" - * are used to activate developer menus by dialing certain codes. And they are of the - * form {@code *#*#<code>#*#*}. The intent will have the data URI: - * {@code android_secret_code://<code>}. + * Broadcast Action: A debug code has been entered in the dialer. This intent is + * broadcast by the system and OEM telephony apps may need to receive these broadcasts. + * These "secret codes" are used to activate developer menus by dialing certain codes. + * And they are of the form {@code *#*#<code>#*#*}. The intent will have the data + * URI: {@code android_secret_code://<code>}. It is possible that a manifest + * receiver would be woken up even if it is not currently running. + * + * <p>Requires {@code android.Manifest.permission#CONTROL_INCALL_EXPERIENCE} to + * send and receive.</p> */ @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String SECRET_CODE_ACTION = |