Actually use the passed-in executor for unused count

Use the passed in executor for getUnusedCount so that the work is
actually handled on the main executor.

Bug: 231931350
Test: bug repro steps
Change-Id: I7c97e1e6d55457662920a3a15a5605324dd7963f
This commit is contained in:
Kevin Han
2022-05-10 10:42:52 -07:00
parent a2d265850c
commit 3ac4fac928

View File

@@ -860,7 +860,7 @@ public final class PermissionControllerManager {
Binder.restoreCallingIdentity(token);
}
}
});
}, executor);
}
/**