Merge "Add ScreenRecordrule to FallbackRecentsTest" into tm-dev

This commit is contained in:
Alex Chau authored and Android (Google) Code Review committed 2022-04-05 10:19:55 +00:00
commit d5d06190a7
1 file changed
+4
@@ -57,6 +57,7 @@ import com.android.launcher3.tapl.TestHelpers;
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 @@ public class FallbackRecentsTest {
@Rule
public final TestRule mOrderSensitiveRules;
@Rule
public ScreenRecordRule mScreenRecordRule = new ScreenRecordRule();
public FallbackRecentsTest() throws RemoteException {
Instrumentation instrumentation = getInstrumentation();
Context context = instrumentation.getContext();