Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev am: 9724fba am: 0627850
am: 4988f49
* commit '4988f49b8399c23896cf77ac411af35f5c045b6e':
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