Do not try to send updated allowed ranges for destroyed networks
Test: TH Bug: 420229020 Flag: EXEMPT bugfix Change-Id: Ibc1c4cf2d94afe86f22b515ac0b91c85f6506f8e
This commit is contained in:
parent
fff6a3fdcd
commit
4d2887b593
1 changed files with 42 additions and 0 deletions
|
|
@ -11830,6 +11830,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
}
|
||||
|
||||
forEachNetworkAgentInfo(nai -> {
|
||||
if (nai.isDestroyed()) return; // return@forEachNetworkAgentInfo
|
||||
ArraySet<UidRange> allowedUidRanges = new ArraySet<>();
|
||||
for (final UserHandle user : users) {
|
||||
final ArraySet<UidRange> restrictedUidRanges =
|
||||
|
|
|
|||
Loading…
Reference in a new issue