diff options
| author | 2024-11-27 00:12:37 +0000 | |
|---|---|---|
| committer | 2024-11-27 00:12:37 +0000 | |
| commit | d3721ee52bb5d812e8e0bbadb87a35a820379acb (patch) | |
| tree | 0237e8a8d5d7430741a21b40340b66c72a10ac51 /libs/androidfw/AssetsProvider.cpp | |
| parent | 3161f3e123a35a7b14b34b00dbc9063e70f22d7c (diff) | |
Fix AuthServiceTest for multi-user systems
The test previously assumed a user 0 system. If the tests were run when
the current user is not user 0, they would fail with a
SecurityException. By using the current userId, they will run more
reliably.
Bug: 360942456
Test: atest com.android.server.biometrics.AuthServiceTest
Flag: TEST_ONLY
Change-Id: I9dc8cdfd9cc348e39575777cc069b9a8ba0689a9
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions