Move android screen orientation into platform settings

This commit is contained in:
Chandler Cox
2023-12-11 10:00:19 -06:00
parent df83491313
commit 4725f51431
2 changed files with 37 additions and 37 deletions

View File

@@ -174,19 +174,19 @@ bool AndroidPlatformTools::OnPostProcess(CookingData& data)
String orientation = String("fullSensor");
switch (defaultOrienation)
{
case AndroidScreenOrientation::Portrait:
case AndroidPlatformSettings::ScreenOrientation::Portrait:
orientation = String("portrait");
break;
case AndroidScreenOrientation::PortraitReverse:
case AndroidPlatformSettings::ScreenOrientation::PortraitReverse:
orientation = String("reversePortrait");
break;
case AndroidScreenOrientation::LandscapeRight:
case AndroidPlatformSettings::ScreenOrientation::LandscapeRight:
orientation = String("landscape");
break;
case AndroidScreenOrientation::LandscapeLeft:
case AndroidPlatformSettings::ScreenOrientation::LandscapeLeft:
orientation = String("reverseLandscape");
break;
case AndroidScreenOrientation::AutoRotation:
case AndroidPlatformSettings::ScreenOrientation::AutoRotation:
orientation = String("fullSensor");
break;
default: