DEADSOFTWARE

Closes #26: Set orientation to sensorLandscape
authorfred-boy <fredboy@protonmail.com>
Tue, 16 Jun 2020 08:38:39 +0000 (15:38 +0700)
committerfredboy <fredboy@protonmail.com>
Tue, 16 Jun 2020 13:16:17 +0000 (20:16 +0700)
android/AndroidManifest.xml

index 014587c25a7fd813dbac633ef4ee3e3563421e4d..47eaf7a1afc8266caabc5563a9b7a645e66a9216 100644 (file)
@@ -11,8 +11,9 @@
         <activity
                 android:name="ru.deadsoftware.cavedroid.AndroidLauncher"
                 android:label="@string/app_name"
-                android:screenOrientation="landscape"
-                android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize">
+                android:screenOrientation="sensorLandscape"
+                android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize"
+                tools:ignore="LockedOrientationActivity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />