commit | c7d07d4f0ab85d09e899f51f6552c79f591f5743 | [log] [tgz] |
---|---|---|
author | Dmitry Dementyev <dementyev@google.com> | Tue Nov 10 16:01:35 2020 -0800 |
committer | Anis Assi <anisassi@google.com> | Thu Nov 12 11:47:12 2020 -0800 |
tree | d7453549d3ad20455466246fa4a51a57e5254ad4 | |
parent | f267e978665edf59f251cfc64ec2417ede6b9f07 [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)