Support displaying a dialog when wifi becomes unvalidated.

Bug: 31075769
Change-Id: I7a6e7580769365bea930f638bd44edcaa28df134
This commit is contained in:
Lorenzo Colitti
2016-09-15 14:02:29 +09:00
parent c9048bc556
commit 199ecfc79f
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)