Merge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev am: 54bc88cdbc
am: b6b7b81ae0
* commit 'b6b7b81ae0b5e619f1add42a66f98c187e25da9a':
Added a onRestrictBackgroundBlacklistChanged() callback.
Change-Id: I64af44f5b12248facbeeef66d0ff5372ec5e69ed
This commit is contained in:
@@ -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 + ")");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user