Merge "Lock down networking when waiting for always-on" into nyc-dev
am: d171df660e
* commit 'd171df660e19bdba4d188beeb8b6023874712413':
Lock down networking when waiting for always-on
Change-Id: I34fffb119eecef0052be673f307ef63c94fc58ee
This commit is contained in:
@@ -436,4 +436,6 @@ interface INetworkManagementService
|
||||
|
||||
void addInterfaceToLocalNetwork(String iface, in List<RouteInfo> routes);
|
||||
void removeInterfaceFromLocalNetwork(String iface);
|
||||
|
||||
void setAllowOnlyVpnForUids(boolean enable, in UidRange[] uidRanges);
|
||||
}
|
||||
|
||||
@@ -4712,6 +4712,14 @@ public final class Settings {
|
||||
*/
|
||||
public static final String ALWAYS_ON_VPN_APP = "always_on_vpn_app";
|
||||
|
||||
/**
|
||||
* Whether to block networking outside of VPN connections while always-on is set.
|
||||
* @see #ALWAYS_ON_VPN_APP
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final String ALWAYS_ON_VPN_LOCKDOWN = "always_on_vpn_lockdown";
|
||||
|
||||
/**
|
||||
* Whether applications can be installed for this user via the system's
|
||||
* {@link Intent#ACTION_INSTALL_PACKAGE} mechanism.
|
||||
|
||||
Reference in New Issue
Block a user