From 33c3f72c7f72577ffd27374119be61dbb5ce44b4 Mon Sep 17 00:00:00 2001 From: Tom McTiernan Date: Tue, 23 Aug 2016 23:42:18 +0100 Subject: [PATCH] Make landscape orientation setting respect sensor --- .../src/net/osmand/plus/activities/SettingsGeneralActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java index cb0eac24b3..80f55ab20f 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsGeneralActivity.java @@ -91,7 +91,7 @@ public class SettingsGeneralActivity extends SettingsBaseActivity implements OnR registerListPreference(settings.MAP_SCREEN_ORIENTATION, screen, new String[]{getString(R.string.map_orientation_portrait), getString(R.string.map_orientation_landscape), getString(R.string.map_orientation_default)}, - new Integer[]{ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED}); + new Integer[]{ActivityInfo.SCREEN_ORIENTATION_PORTRAIT, ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE, ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED}); addLocalPrefs((PreferenceGroup) screen.findPreference("localization")); addVoicePrefs((PreferenceGroup) screen.findPreference("voice"));