am dc16b607: Enable auto-rotation in phone UIs in eng builds (for testing)
* commit 'dc16b6077e2089ad89a779e3b98f938bb85b9522':
Enable auto-rotation in phone UIs in eng builds (for testing)
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index 82dc8c4..59386ad 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -325,7 +325,7 @@
}
// 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);
}
}