From fd3fc081d9a8a69a999e9c081a0c57d2973f442e 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 (cherry picked from commit 1a0995862653799efe15d1e5a10ffd9b997253de) --- .../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 975fe9c1e7..2968c8061e 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() {