Merge "Added onRestrictBackgroundWhitelistChanged callback." into nyc-dev am: 9724fba

am: 0627850

* commit '0627850430ba3dad041891de570e0d08e22c13d2':
  Added onRestrictBackgroundWhitelistChanged callback.

Change-Id: I278f8b4f8e29ea69b15e7bef9556c0ed0a81c82b
This commit is contained in:
TreeHugger Robot
2016-04-20 21:11:50 +00:00
committed by android-build-merger

View File

@@ -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 + ")");
}
}
};
/**