Android: fix maxAspectRatio (should be float) (#10080)
authorMaksim <MoNTE48@mail.ua>
Tue, 23 Jun 2020 18:00:34 +0000 (20:00 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 18:00:34 +0000 (19:00 +0100)
build/android/app/src/main/AndroidManifest.xml

index aa5af110eca11a96e451ed0a60057baa771aeff7..0a7c8d95aa457b869355c6c3b40d79a8771f2d5c 100644 (file)
 
                <meta-data
                        android:name="android.max_aspect"
-                       android:value="3" />
+                       android:value="3.0" />
 
                <activity
                        android:name=".MainActivity"
                        android:configChanges="orientation|keyboardHidden|navigation|screenSize"
-                       android:maxAspectRatio="3"
+                       android:maxAspectRatio="3.0"
                        android:screenOrientation="sensorLandscape"
                        android:theme="@style/AppTheme">
                        <intent-filter>
@@ -42,7 +42,7 @@
                        android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
                        android:hardwareAccelerated="true"
                        android:launchMode="singleTask"
-                       android:maxAspectRatio="3"
+                       android:maxAspectRatio="3.0"
                        android:screenOrientation="sensorLandscape"
                        android:theme="@style/AppTheme">
                        <intent-filter>
@@ -55,7 +55,7 @@
 
                <activity
                        android:name=".InputDialogActivity"
-                       android:maxAspectRatio="3"
+                       android:maxAspectRatio="3.0"
                        android:theme="@style/InputTheme" />
 
                <service