Support displaying a dialog when wifi becomes unvalidated. am: 199ecfc79f am: 2b5b0e027b

am: 56e32083b5

Change-Id: Id908683dce15ffbafc042d506a38ec26d5e9a6ee
This commit is contained in:
Lorenzo Colitti
2016-09-15 16:18:42 +00:00
committed by android-build-merger
3 changed files with 76 additions and 14 deletions

View File

@@ -342,6 +342,15 @@ public class ConnectivityManager {
*/
public static final String ACTION_PROMPT_UNVALIDATED = "android.net.conn.PROMPT_UNVALIDATED";
/**
* Action used to display a dialog that asks the user whether to avoid a network that is no
* longer validated. This intent is used to start the dialog in settings via startActivity.
*
* @hide
*/
public static final String ACTION_PROMPT_LOST_VALIDATION =
"android.net.conn.PROMPT_LOST_VALIDATION";
/**
* Invalid tethering type.
* @see #startTethering(int, OnStartTetheringCallback, boolean)