Screen orientation now fully depends on device sensors, even if user locked orientation in system settings

This commit is contained in:
pelya
2014-04-24 00:22:14 +03:00
parent 47ae380720
commit e9f69da6d8
2 changed files with 4 additions and 4 deletions

View File

@@ -1014,7 +1014,7 @@ AppShortName=`echo $AppName | sed 's/ //g'`
DataPath="$AppFullName"
AppFullNameUnderscored=`echo $AppFullName | sed 's/[.]/_/g'`
AppSharedLibrariesPath=/data/data/$AppFullName/lib
ScreenOrientation1=userPortrait
ScreenOrientation1=sensorPortrait
HorizontalOrientation=false
UsingSdl13=false
@@ -1028,7 +1028,7 @@ if [ "$LibSdlVersion" = "2.0" ] ; then
fi
if [ "$ScreenOrientation" = "h" -o "$ScreenOrientation" = "l" ] ; then
ScreenOrientation1=userLandscape
ScreenOrientation1=sensorLandscape
HorizontalOrientation=true
fi