Merge "Add log when denying client authorization state" into tm-qpr-dev

This commit is contained in:
Anthony Stange
2022-08-23 21:42:05 +00:00
committed by Android (Google) Code Review

View File

@@ -1024,6 +1024,9 @@ public class ContextHubService extends IContextHubService.Stub {
}
/* 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 -> {
if (client.getPackageName().equals(packageName)) {
client.updateNanoAppAuthState(