diff --git a/src/org/geometerplus/android/fbreader/SetOrientationAction.java b/src/org/geometerplus/android/fbreader/SetOrientationAction.java index 8920d7bcc..32d136a87 100644 --- a/src/org/geometerplus/android/fbreader/SetOrientationAction.java +++ b/src/org/geometerplus/android/fbreader/SetOrientationAction.java @@ -39,9 +39,9 @@ class SetScreenOrientationAction extends FBAndroidAction { } else if (ZLibrary.SCREEN_ORIENTATION_LANDSCAPE.equals(optionValue)) { orientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE; } else if (ZLibrary.SCREEN_ORIENTATION_REVERSE_PORTRAIT.equals(optionValue)) { - orientation = 9; + orientation = 9; // ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT } else if (ZLibrary.SCREEN_ORIENTATION_REVERSE_LANDSCAPE.equals(optionValue)) { - orientation = 8; + orientation = 8; // ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE } activity.setRequestedOrientation(orientation); } diff --git a/src/org/geometerplus/zlibrary/core/library/ZLibrary.java b/src/org/geometerplus/zlibrary/core/library/ZLibrary.java index aeb0d6822..d084a1c3a 100644 --- a/src/org/geometerplus/zlibrary/core/library/ZLibrary.java +++ b/src/org/geometerplus/zlibrary/core/library/ZLibrary.java @@ -38,7 +38,7 @@ public abstract class ZLibrary { public static final String SCREEN_ORIENTATION_REVERSE_PORTRAIT = "reversePortrait"; public static final String SCREEN_ORIENTATION_REVERSE_LANDSCAPE = "reverseLandscape"; - public final ZLStringOption OrientationOption = new ZLStringOption("LookNFeel", "Orientation", "auto"); + public final ZLStringOption OrientationOption = new ZLStringOption("LookNFeel", "Orientation", "system"); protected ZLibrary() { ourImplementation = this;