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

Commit cfc04df3 authored by Eric Biggers's avatar Eric Biggers
Browse files

Move setCeStorageProtection() and unlockCeStorage() to StorageManagerInternal

Move these methods from IStorageManager to StorageManagerInternal, since
they are used only within system_server itself.

Update UserControllerTest#testUserNotUnlockedBeforeAllowed() to verify
that LockPatternUtils#unlockUserKeyIfUnsecured() was not called, instead
of verifying that StorageManager#unlockCeStorage() was not called.  This
matches the method that UserController actually calls.

Bug: 434738842
Flag: EXEMPT refactor
Test: atest FrameworksServicesTests:com.android.server.locksettings
Test: atest FrameworksServicesTests:UserControllerTest
Change-Id: I7b730f4d2c22db01debe575a31236da86f6ccdbb
parent 27743398
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