From dc16b6077e2089ad89a779e3b98f938bb85b9522 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Mon, 26 Sep 2011 15:12:33 -0700 Subject: [PATCH] Enable auto-rotation in phone UIs in eng builds (for testing) Change-Id: I4749a861b860dede699593b8d06a17405345b8e4 --- src/com/android/launcher2/Launcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 82dc8c460b..59386adfda 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -325,7 +325,7 @@ public final class Launcher extends Activity } // On large interfaces, we want the screen to auto-rotate based on the current orientation - if (LauncherApplication.isScreenLarge()) { + if (LauncherApplication.isScreenLarge() || Build.TYPE.contentEquals("eng")) { setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); } }