Merge "Added a onRestrictBackgroundBlacklistChanged() callback." into nyc-dev am: 8debc39f17 am: 3b91df7ccf
am: 7353aa4803
* commit '7353aa48039b048aa9fa3f8c75c3e26114d46e22':
Added a onRestrictBackgroundBlacklistChanged() callback.
Change-Id: Ieb58dda8f4749ccf5218be5913beb488fd3247cf
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