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

Commit d3721ee5 authored by Alex Stetson's avatar Alex Stetson
Browse files

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
parent 3161f3e1
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