Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment