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

This commit is contained in:
TreeHugger Robot
2016-05-17 18:28:20 +00:00
committed by Android (Google) Code Review

View File

@@ -1445,6 +1445,14 @@ public class ConnectivityService extends IConnectivityManager.Stub
+ 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 + ")");
}
}
};
/**