Merge "Add log when denying client authorization state" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b65f359eeb
@@ -1024,6 +1024,9 @@ public class ContextHubService extends IContextHubService.Stub {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* package */ void denyClientAuthState(int contextHubId, String packageName, long nanoAppId) {
|
/* package */ void denyClientAuthState(int contextHubId, String packageName, long nanoAppId) {
|
||||||
|
Log.i(TAG, "Denying " + packageName + " access to " + Long.toHexString(nanoAppId)
|
||||||
|
+ " on context hub # " + contextHubId);
|
||||||
|
|
||||||
mClientManager.forEachClientOfHub(contextHubId, client -> {
|
mClientManager.forEachClientOfHub(contextHubId, client -> {
|
||||||
if (client.getPackageName().equals(packageName)) {
|
if (client.getPackageName().equals(packageName)) {
|
||||||
client.updateNanoAppAuthState(
|
client.updateNanoAppAuthState(
|
||||||
|
|||||||
Reference in New Issue
Block a user