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

Commit 47fa2a88 authored by Rubin Xu's avatar Rubin Xu
Browse files

Fix SecurityControllerTest

Bug: 149912024
Test: atest com.android.systemui.statusbar.policy.SecurityControllerTest
Change-Id: Ia8e00a6fcd052dfcbe868b17d64f800b73da857f
parent 23c81a15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ public class SecurityControllerTest extends SysuiTestCase implements SecurityCon
        mContext.addMockService(comp, mKeyChainService);

        when(mUserManager.getUserInfo(anyInt())).thenReturn(new UserInfo());
        when(mUserManager.isUserUnlocked(any())).thenReturn(true);

        when(mKeyChainService.getUserCaAliases())
                .thenReturn(new StringParceledListSlice(new ArrayList<String>()));