diff options
| author | 2024-09-11 13:44:15 -0700 | |
|---|---|---|
| committer | 2024-09-25 07:58:59 -0700 | |
| commit | 17badbcb3d1e7c6aef493a32c61b9bb90ac35633 (patch) | |
| tree | 5ec91b65aa3420eb2efedd36d5ba7287aa615a53 /wifi/java/src | |
| parent | 73e56ea355343302bf12905f4bf7147653e7a9a7 (diff) | |
Check whether the correct callingUid has the necessary permissions
Using callingUid from the Binder may not always check the correct
caller's permission - like when the calling identity is cleared or when
the check is initiated from the system server. Thus explicitly pass the
callingUid to check permissions.
Also update tests afftected by this change - by adding methods to mocked
objects
Bug: 334024639
Test: presubmits
Flag: EXEMPT. Bug fix only
Change-Id: I215e391016970b2aae197f98e387b8973c8e68ea
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions