Merge "Fix onBlockedStatusChanged does not work on multiple networks"
am: eb70ae41c6
Change-Id: Ia8edf1e9d0f49da5be2bac1889cd0001010a869b
This commit is contained in:
@@ -6557,7 +6557,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
uid, newRules, metered, mRestrictBackground);
|
uid, newRules, metered, mRestrictBackground);
|
||||||
}
|
}
|
||||||
if (oldBlocked == newBlocked) {
|
if (oldBlocked == newBlocked) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
final int arg = encodeBool(newBlocked);
|
final int arg = encodeBool(newBlocked);
|
||||||
for (int i = 0; i < nai.numNetworkRequests(); i++) {
|
for (int i = 0; i < nai.numNetworkRequests(); i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user