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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22198742

Change-Id: Ib6f6a1444b3c3aa633796d06ac059e64aa0ad987
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Vali Calinescu
2023-03-23 10:55:21 +00:00
committed by Automerger Merge Worker

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());