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

Commit 0e283089 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri
Browse files

Fix CompatUILayoutTest#testOnClickForSizeCompatHint

Bug: 321225807
Test: atest CompatUILayoutTest
Change-Id: I33f14c30394805dd6e10e2be5bfdae5251f34734
parent e974a43d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ public class CompatUILayoutTest extends ShellTestCase {
    @Test
    public void testOnClickForSizeCompatHint() {
        mWindowManager.mHasSizeCompat = true;
        doReturn(true).when(mWindowManager).shouldShowSizeCompatRestartButton(mTaskInfo);
        mWindowManager.createLayout(/* canShow= */ true);
        final LinearLayout sizeCompatHint = mLayout.findViewById(R.id.size_compat_hint);
        sizeCompatHint.performClick();