commit | 0def446c6bc271c518e9e0c27de04a20e2fc0f7f | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Tue Apr 05 11:45:07 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 05 11:45:07 2022 +0000 |
tree | aee570f6ba18e88124f49ca47a6fad24ec6b0959 | |
parent | e9174128240c48fd5a0c15509b9b2ffafc1c90de [diff] | |
parent | a85a2d4b3d44f784c3c300bbb654b87fbdb5c039 [diff] |
Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev am: d5d06190a7 am: a85a2d4b3d Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570026 Change-Id: Id4ec95c56f7e2adaefdab533dfec69639780d1c6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java index 9b38853..ae00d82 100644 --- a/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java +++ b/quickstep/tests/src/com/android/quickstep/FallbackRecentsTest.java
@@ -57,6 +57,7 @@ import com.android.launcher3.testcomponent.TestCommandReceiver; import com.android.launcher3.util.Wait; import com.android.launcher3.util.rule.FailureWatcher; +import com.android.launcher3.util.rule.ScreenRecordRule; import com.android.launcher3.util.rule.ScreenRecordRule.ScreenRecord; import com.android.quickstep.views.RecentsView; @@ -91,6 +92,9 @@ @Rule public final TestRule mOrderSensitiveRules; + @Rule + public ScreenRecordRule mScreenRecordRule = new ScreenRecordRule(); + public FallbackRecentsTest() throws RemoteException { Instrumentation instrumentation = getInstrumentation(); Context context = instrumentation.getContext();