Merge "Document system activity intents that may not be implemented" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-11 02:42:38 +00:00
committed by Android (Google) Code Review
3 changed files with 19 additions and 0 deletions

View File

@@ -1420,6 +1420,9 @@ public class Intent implements Parcelable, Cloneable {
* Activity Action: Start Voice Command.
* <p>Input: Nothing.
* <p>Output: Nothing.
* <p class="note">
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_VOICE_COMMAND = "android.intent.action.VOICE_COMMAND";

View File

@@ -123,6 +123,10 @@ public final class Settings {
* Input: Nothing.
* <p>
* Output: Nothing.
*
* <p class="note">
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_APN_SETTINGS = "android.settings.APN_SETTINGS";
@@ -882,6 +886,10 @@ public final class Settings {
* Applications can also use {@link android.net.ConnectivityManager#getRestrictBackgroundStatus
* ConnectivityManager#getRestrictBackgroundStatus()} to determine the
* status of the background data restrictions for them.
*
* <p class="note">
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS =
@@ -1148,6 +1156,10 @@ public final class Settings {
* Input: Nothing.
* <p>
* Output: Nothing.
*
* <p class="note">
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
*/
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_NOTIFICATION_POLICY_ACCESS_SETTINGS

View File

@@ -141,6 +141,10 @@ public class RecognizerIntent {
* <ul>
* <li>{@link #EXTRA_SECURE}
* </ul>
*
* <p class="note">
* In some cases, a matching Activity may not exist, so ensure you
* safeguard against this.
*/
public static final String ACTION_VOICE_SEARCH_HANDS_FREE =
"android.speech.action.VOICE_SEARCH_HANDS_FREE";