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

Skip to content
Commit 3bf558af authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Vasyl Gello
Browse files

Ignore GrantCredentials call with unexpected calling uid.



Activity can be used only in two cases.
1) Calling uid matches uid grantee.
2) Calling uid is is system. This flow is used by getToken methods with
notifyAuthFailure=true.

Test: Existing CTS tests
Bug: 158480899
Merged-In: I983fa

[basilgello: Back-port to 14.1:
 - ActivityManager.getService() -> ActivityManagerNative.getDefault()]
Signed-off-by: default avatarVasyl Gello <vasek.gello@gmail.com>

Change-Id: I8da362df269decd7c3930a2387f42e09796e732f
(cherry picked from commit 88787b77)
parent 653e64f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment