Merge "Clean up transparent activity test in SizeCompatTests" into tm-qpr-dev

This commit is contained in:
Vali Calinescu
2023-03-23 10:21:18 +00:00
committed by Android (Google) Code Review

View File

@@ -425,7 +425,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());