Merge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev am: 8debc39f17
am: 3b91df7ccf * commit '3b91df7ccf7ee4adf9914ffcdcbf220eb9f9fd08': Added a onRestrictBackgroundBlacklistChanged() callback. Change-Id: Idb223f33d6c5b1d4054bd41f4b9b9672c507986c
This commit is contained in:
@@ -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 + ")");
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user