From 1a0995862653799efe15d1e5a10ffd9b997253de Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Mon, 13 Apr 2020 15:47:02 -0700 Subject: [PATCH] Disable sensor manager for tests in platform Bug: 153443049 Change-Id: Ieaa4b8144eba11c5d3025a1bcca42a8552d1c702 --- .../com/android/launcher3/tapl/LauncherInstrumentation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 710ce9ee2b..84eae2d793 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java @@ -247,6 +247,8 @@ public final class LauncherInstrumentation { } } } + + disableSensorRotation(); } public void enableCheckEventsForSuccessfulGestures() {