Merge "Refactored INetworkPolicyListener callbacks."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8badb5756f
@@ -1538,19 +1538,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted) {
|
public void onUidPoliciesChanged(int uid, int uidPolicies) {
|
||||||
if (LOGD_RULES) {
|
|
||||||
// caller is NPMS, since we only register with them
|
// caller is NPMS, since we only register with them
|
||||||
log("onRestrictBackgroundWhitelistChanged(uid=" + uid + ", whitelisted="
|
|
||||||
+ whitelisted + ")");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void onRestrictBackgroundBlacklistChanged(int uid, boolean blacklisted) {
|
|
||||||
if (LOGD_RULES) {
|
if (LOGD_RULES) {
|
||||||
// caller is NPMS, since we only register with them
|
log("onUidRulesChanged(uid=" + uid + ", uidPolicies=" + uidPolicies + ")");
|
||||||
log("onRestrictBackgroundBlacklistChanged(uid=" + uid + ", blacklisted="
|
|
||||||
+ blacklisted + ")");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user