Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2850b56b authored by Felipe Leme's avatar Felipe Leme
Browse files

Update background data restrictions intent javadoc.

BUG: 26820898
Change-Id: Ib2ed6835708ec77926fe49264ccf65a0aaf9a984
parent 6ada7029
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -723,18 +723,18 @@ public final class Settings {
            "android.settings.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";

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