Merge pull request #11834 from hrydgard/auto-horizontal-default

Android: Default screen rotation to auto landscape for new users.
This commit is contained in:
Unknown W. Brackets authored and GitHub committed 2019-02-23 16:30:01 +00:00
commit a5f21b4b2d
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -431,7 +431,7 @@ static ConfigSetting generalSettings[] = {
ConfigSetting("RemoteDebuggerOnStartup", &g_Config.bRemoteDebuggerOnStartup, false),
#ifdef __ANDROID__
ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_LOCKED_HORIZONTAL),
ConfigSetting("ScreenRotation", &g_Config.iScreenRotation, ROTATION_AUTO_HORIZONTAL),
#endif
ConfigSetting("InternalScreenRotation", &g_Config.iInternalScreenRotation, ROTATION_LOCKED_HORIZONTAL),
+1
View File
@@ -37,6 +37,7 @@ enum {
ROTATION_LOCKED_VERTICAL = 2,
ROTATION_LOCKED_HORIZONTAL180 = 3,
ROTATION_LOCKED_VERTICAL180 = 4,
ROTATION_AUTO_HORIZONTAL = 5,
};
enum BufferFilter {