summaryrefslogtreecommitdiffstats
path: root/api/current.txt
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2015-06-11 14:27:17 +0900
committerLorenzo Colitti <lorenzo@google.com>2015-06-11 15:30:13 +0900
commit662761224c93cf060a356284101354031cb80dc2 (patch)
tree9654fde8961c96765bb344e25455414a204a4832 /api/current.txt
parent40dbedfb1a7637d87d80e391943c74c100b4e5f7 (diff)
downloadframeworks_base-662761224c93cf060a356284101354031cb80dc2.zip
frameworks_base-662761224c93cf060a356284101354031cb80dc2.tar.gz
frameworks_base-662761224c93cf060a356284101354031cb80dc2.tar.bz2
Re-hide onPreCheck and unhide NET_CAPABILITY_VALIDATED.
The API review comments in http://b/21343774 point out that the suggested use case for onPreCheck (captive portal login apps) is not a good use case as it requires that the app always be running. Also, unhide NET_CAPABILITY_VALIDATED, which is useful to apps that want to detect captive portals and network connectivity failures. Bug: 21343774 Change-Id: Iad7c839bcc136b0fa9581dccc5fd97a28efed4ab
Diffstat (limited to 'api/current.txt')
-rw-r--r--api/current.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt
index 803d2fd..218cc2b 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -18209,7 +18209,6 @@ package android.net {
method public void onLinkPropertiesChanged(android.net.Network, android.net.LinkProperties);
method public void onLosing(android.net.Network, int);
method public void onLost(android.net.Network);
- method public void onPreCheck(android.net.Network);
}
public static abstract interface ConnectivityManager.OnNetworkActiveListener {
@@ -18374,6 +18373,7 @@ package android.net {
field public static final int NET_CAPABILITY_RCS = 8; // 0x8
field public static final int NET_CAPABILITY_SUPL = 1; // 0x1
field public static final int NET_CAPABILITY_TRUSTED = 14; // 0xe
+ field public static final int NET_CAPABILITY_VALIDATED = 16; // 0x10
field public static final int NET_CAPABILITY_WIFI_P2P = 6; // 0x6
field public static final int NET_CAPABILITY_XCAP = 9; // 0x9
field public static final int TRANSPORT_BLUETOOTH = 2; // 0x2