Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev
am: 9724fba * commit '9724fba83545fd075cbda62bb13cdc7820c7291a': Added onRestrictBackgroundWhitelistChanged callback. Change-Id: I1ee90168f1cf29a117961ba1e269fbc89c7f443b
This commit is contained in:
@@ -1419,6 +1419,15 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
log("onRestrictBackgroundChanged(restrictBackground=" + restrictBackground + ")");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted) {
|
||||
if (LOGD_RULES) {
|
||||
// caller is NPMS, since we only register with them
|
||||
log("onRestrictBackgroundWhitelistChanged(uid=" + uid + ", whitelisted="
|
||||
+ whitelisted + ")");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user