Merge "Remove dead code in BpfNetMaps."
This commit is contained in:
commit
e06458378d
1 changed files with 12 additions and 64 deletions
|
|
@ -11056,7 +11056,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
} else {
|
||||
mBpfNetMaps.removeNiceApp(uid);
|
||||
}
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
|
@ -11071,7 +11071,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
} else {
|
||||
mBpfNetMaps.removeNaughtyApp(uid);
|
||||
}
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
|
@ -11083,7 +11083,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
try {
|
||||
mBpfNetMaps.setUidRule(chain, uid,
|
||||
allow ? INetd.FIREWALL_RULE_ALLOW : INetd.FIREWALL_RULE_DENY);
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
|
@ -11094,7 +11094,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
|
||||
try {
|
||||
mBpfNetMaps.setChildChain(chain, enable);
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
|
@ -11125,7 +11125,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
throw new IllegalArgumentException("replaceFirewallChain with invalid chain: "
|
||||
+ chain);
|
||||
}
|
||||
} catch (RemoteException | ServiceSpecificException e) {
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw new IllegalStateException(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue