Merge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev

am: 8debc39f17

* commit '8debc39f1727ee4540e08cf699a6fde75268a5da':
  Added a onRestrictBackgroundBlacklistChanged() callback.

Change-Id: I4e19dd2828b8b67fc7b2d2173d77a82d67d53d19
This commit is contained in:
Felipe Leme
2016-05-17 18:43:43 +00:00
committed by android-build-merger

View File

@@ -1445,6 +1445,14 @@ public class ConnectivityService extends IConnectivityManager.Stub
+ whitelisted + ")"); + whitelisted + ")");
} }
} }
@Override
public void onRestrictBackgroundBlacklistChanged(int uid, boolean blacklisted) {
if (LOGD_RULES) {
// caller is NPMS, since we only register with them
log("onRestrictBackgroundBlacklistChanged(uid=" + uid + ", blacklisted="
+ blacklisted + ")");
}
}
}; };
/** /**