commit | 0b610a27ba60047842b9416dd0537c68f0dd22b2 | [log] [tgz] |
---|---|---|
author | Dmitry Dementyev <dementyev@google.com> | Tue Nov 10 16:01:35 2020 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 18 22:51:31 2020 +0000 |
tree | 0bd0ffcffca4ebb5c06a7678bfb778a785401130 | |
parent | 828fe0b915f30e22fec03dc1ed2e66220ceebd3e [diff] |
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 Change-Id: I1421c333b6cebb4f7cddcdd8766298f6872e933b (cherry picked from commit 10d8a114bbd91c07f2feb5009328b16203ff50b1)