Revert "ConnectivityManager: allow usage of TYPE_NONE"
This CL is breaking some internal builds.
This reverts commit 0b7642a820.
Change-Id: Ie79214808d84c73f54a525f515b4c90a3fb23542
This commit is contained in:
@@ -3908,9 +3908,6 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
public void setProvisioningNotificationVisible(boolean visible, int networkType,
|
||||
String action) {
|
||||
enforceConnectivityInternalPermission();
|
||||
if (!ConnectivityManager.isNetworkTypeValid(networkType)) {
|
||||
return;
|
||||
}
|
||||
final long ident = Binder.clearCallingIdentity();
|
||||
try {
|
||||
// Concatenate the range of types onto the range of NetIDs.
|
||||
|
||||
Reference in New Issue
Block a user