Loading
Honor app visibility for checkAutoRevokeAccess
This method should return the same result when the given package is
not installed or visible to the caller. Also, moving the permission
check beofre the package existence one.
Bug: 186404361
Test: atest CtsAppEnumerationTestCases
Test: manually using the PoC in the buganizer to ensure the symptom
no longer exists.
Change-Id: Idd6343c4e101533888f988d2373a4a46f310e79e