Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev am: 9724fba am: 0627850
am: 87fef43
* commit '87fef433bb9d2e62ef634ff40df9117939ef54df':
Added onRestrictBackgroundWhitelistChanged callback.
Change-Id: Iae1c0af0aec6dba501249c0db08ade5a36f99607
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