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

Commit 6e719281 authored by Vali Calinescu's avatar Vali Calinescu
Browse files

Clean up transparent activity test in SizeCompatTests

We should be returning false for fillsParent() on the transparent activity.

Fix: 274749083
Test: atest WmTests:SizeCompatTests#testTranslucentActivitiesDontGoInSizeCompatMode
Change-Id: I6fb48f1d2768a86972eb22483077974c175c15b5
parent a55730c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -398,7 +398,7 @@ public class SizeCompatTests extends WindowTestsBase {
                .setLaunchedFromUid(mActivity.getUid())
                .setScreenOrientation(SCREEN_ORIENTATION_PORTRAIT)
                .build();
        doReturn(true).when(translucentActivity).fillsParent();
        doReturn(false).when(translucentActivity).fillsParent();
        mTask.addChild(translucentActivity);
        // It should not be in SCM
        assertFalse(translucentActivity.inSizeCompatMode());