Screen orientation now fully depends on device sensors, even if user locked orientation in system settings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.package.name"
|
||||
android:versionCode="100"
|
||||
android:versionName="1.0.0 - initial version"
|
||||
android:versionName="1.0.0"
|
||||
android:installLocation="auto"
|
||||
>
|
||||
<application android:label="@string/app_name"
|
||||
@@ -13,7 +13,7 @@
|
||||
android:label="@string/app_name"
|
||||
android:alwaysRetainTaskState="true"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="userLandscape"
|
||||
android:screenOrientation="sensorLandscape"
|
||||
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode|screenSize|smallestScreenSize"
|
||||
android:windowSoftInputMode="stateUnspecified|adjustPan"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user