Merge "Update background data restrictions intent javadoc." into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-04-27 21:15:58 +00:00
committed by Android (Google) Code Review

View File

@@ -726,18 +726,18 @@ public final class Settings {
"android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"; "android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
/** /**
* Activity Action: Show screen for controlling which apps can ignore background data * Activity Action: Show screen for controlling background data
* restrictions. * restrictions for a particular application.
* <p> * <p>
* Input: if the Intent's data URI is set with an application name (using the "package" schema, * Input: Intent's data URI set with an application name, using the
* like "package:com.my.app"), then when the screen is displayed it will focus on such app. If * "package" schema (like "package:com.my.app").
* the data is not set, it will just open the screen. *
* <p> * <p>
* Output: Nothing. * Output: Nothing.
* <p> * <p>
* Applications can also use {@link android.net.ConnectivityManager#getRestrictBackgroundStatus * Applications can also use {@link android.net.ConnectivityManager#getRestrictBackgroundStatus
* ConnectivityManager#getRestrictBackgroundStatus()} to determine the status of the background * ConnectivityManager#getRestrictBackgroundStatus()} to determine the
* data restrictions for them. * status of the background data restrictions for them.
*/ */
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
public static final String ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS = public static final String ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS =