Commit 746f313e authored by Mark Stevens's avatar Mark Stevens
Browse files

set launcher orientation to landscape

parent bedcb04b
......@@ -389,8 +389,10 @@ public class Launcher extends Activity
if (mRotationEnabled) {
unlockScreenOrientation(true);
} else {
// setRequestedOrientation(
// ActivityInfo.SCREEN_ORIENTATION_NOSENSOR);
setRequestedOrientation(
ActivityInfo.SCREEN_ORIENTATION_NOSENSOR);
ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
}
}
......@@ -428,7 +430,7 @@ public class Launcher extends Activity
// Load configuration-specific DeviceProfile
mDeviceProfile = getResources().getConfiguration().orientation
== Configuration.ORIENTATION_LANDSCAPE ?
== Configuration.ORIENTATION_LANDSCAPE || true ?
app.getInvariantDeviceProfile().landscapeProfile
: app.getInvariantDeviceProfile().portraitProfile;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment