summaryrefslogtreecommitdiffstats
path: root/core/java/android/net
diff options
context:
space:
mode:
authorJeff Davidson <jpd@google.com>2014-08-11 14:07:27 -0700
committerJeff Davidson <jpd@google.com>2014-08-20 16:55:28 -0700
commit05542603dd4f1e0ea47a3dca01de3999a9a329a9 (patch)
tree69b8c0c2c2cec2e11b633c9232f7e97ad144b085 /core/java/android/net
parent23ad2790ed45d56eeb5d03c66531cb9b5811d6fe (diff)
downloadframeworks_base-05542603dd4f1e0ea47a3dca01de3999a9a329a9.zip
frameworks_base-05542603dd4f1e0ea47a3dca01de3999a9a329a9.tar.gz
frameworks_base-05542603dd4f1e0ea47a3dca01de3999a9a329a9.tar.bz2
Less intrusive VPN dialog and other UX tweaks.
-The ability to launch VPNs is now sticky; once approved by the user, further approvals are not needed UNLESS the connection is revoked in Quick Settings. -The old persistent notification has been removed in favor of the new Quick Settings UI. -The name of the VPN app is now pulled from the label of the VPN service rather than the app itself, if one is set. Bug: 12878887 Bug: 16578022 Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
Diffstat (limited to 'core/java/android/net')
-rw-r--r--core/java/android/net/IConnectivityManager.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/net/IConnectivityManager.aidl b/core/java/android/net/IConnectivityManager.aidl
index 0814e0f..b2fc3be 100644
--- a/core/java/android/net/IConnectivityManager.aidl
+++ b/core/java/android/net/IConnectivityManager.aidl
@@ -108,6 +108,8 @@ interface IConnectivityManager
boolean prepareVpn(String oldPackage, String newPackage);
+ void setVpnPackageAuthorization(boolean authorized);
+
ParcelFileDescriptor establishVpn(in VpnConfig config);
VpnConfig getVpnConfig();