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

Commit 5b1677ef authored by Beverly's avatar Beverly
Browse files

Only run test if bugfix flag is enabled

Test: atest KeyguardPinBasedInputViewControllerTest
Bug: 417307529
Flag: com.android.systemui.bouncer_lifecycle_fix
Change-Id: Ie6af89e4839bf587308d00e2aaf560e1bdcacbd3
parent 2723c553
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -152,6 +152,7 @@ public class KeyguardPinBasedInputViewControllerTest extends SysuiTestCase {
    }

    @Test
    @EnableFlags(FLAG_BOUNCER_LIFECYCLE_FIX)
    public void onResume_doesNotRequestFocusIfNotVisible() {
        when(mPinBasedInputView.isVisibleToUser()).thenReturn(false);
        mKeyguardPinViewController.onResume(KeyguardSecurityView.SCREEN_ON);