Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b65f359e authored by Anthony Stange's avatar Anthony Stange Committed by Android (Google) Code Review
Browse files

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

parents 22527dbf 6b0bd8f7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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(