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

Commit e6058975 authored by Momoko Hattori's avatar Momoko Hattori
Browse files

Simplify user ID retrieval in UserManagerServiceMockedTest#testAutoLock*

To get user ID from UserInfo, these tests are converting it into
UserHandle. Simplify it by accessing UserInfo#id (public member)
directly.

Bug: 411222385
Test: atest FrameworksMockingServicesTests:UserManagerServiceMockedTest
Flag: TEST_ONLY

Change-Id: I2dd4a91d75d14a53562482df8ec10618f8754514
parent 97370356
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