File tree Expand file tree Collapse file tree
android/src/org/coolreader/crengine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ protected void onCreate(Bundle savedInstanceState)
185185 setScreenBacklightDuration (props .getInt (ReaderView .PROP_APP_SCREEN_BACKLIGHT_LOCK , 3 ));
186186
187187 setFullscreen ( props .getBool (ReaderView .PROP_APP_FULLSCREEN , DeviceInfo .EINK_SCREEN ));
188- int orientation = props .getInt (ReaderView .PROP_APP_SCREEN_ORIENTATION , 5 ); //(DeviceInfo.EINK_SCREEN?0:4)
188+ int orientation = props .getInt (ReaderView .PROP_APP_SCREEN_ORIENTATION , 0 ); //(DeviceInfo.EINK_SCREEN?0:4)
189189 if (orientation < 0 || orientation > 5 )
190190 orientation = 5 ;
191191 setScreenOrientation (orientation );
@@ -1696,7 +1696,7 @@ public Properties loadSettings(BaseActivity activity, File file) {
16961696 props .applyDefault (ReaderView .PROP_APP_GESTURE_PAGE_FLIPPING , "1" );
16971697 props .applyDefault (ReaderView .PROP_APP_SHOW_COVERPAGES , "1" );
16981698 props .applyDefault (ReaderView .PROP_APP_COVERPAGE_SIZE , "1" );
1699- props .applyDefault (ReaderView .PROP_APP_SCREEN_ORIENTATION , DeviceInfo . EINK_SCREEN ? "0" : "4 " ); // "0"
1699+ props .applyDefault (ReaderView .PROP_APP_SCREEN_ORIENTATION , "0 " ); // "0"
17001700 props .applyDefault (ReaderView .PROP_CONTROLS_ENABLE_VOLUME_KEYS , "1" );
17011701 props .applyDefault (ReaderView .PROP_APP_TAP_ZONE_HILIGHT , "0" );
17021702 props .applyDefault (ReaderView .PROP_APP_BOOK_SORT_ORDER , FileInfo .DEF_SORT_ORDER .name ());
You can’t perform that action at this time.
0 commit comments