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

@@ -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"
>