Skip to content

Commit 646af2e

Browse files
author
Maksim
authoredJun 23, 2020
Android: fix maxAspectRatio (should be float) (#10080)
1 parent f7c7899 commit 646af2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

Diff for: ‎build/android/app/src/main/AndroidManifest.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323

2424
<meta-data
2525
android:name="android.max_aspect"
26-
android:value="3" />
26+
android:value="3.0" />
2727

2828
<activity
2929
android:name=".MainActivity"
3030
android:configChanges="orientation|keyboardHidden|navigation|screenSize"
31-
android:maxAspectRatio="3"
31+
android:maxAspectRatio="3.0"
3232
android:screenOrientation="sensorLandscape"
3333
android:theme="@style/AppTheme">
3434
<intent-filter>
@@ -42,7 +42,7 @@
4242
android:configChanges="orientation|keyboard|keyboardHidden|navigation|screenSize|smallestScreenSize"
4343
android:hardwareAccelerated="true"
4444
android:launchMode="singleTask"
45-
android:maxAspectRatio="3"
45+
android:maxAspectRatio="3.0"
4646
android:screenOrientation="sensorLandscape"
4747
android:theme="@style/AppTheme">
4848
<intent-filter>
@@ -55,7 +55,7 @@
5555

5656
<activity
5757
android:name=".InputDialogActivity"
58-
android:maxAspectRatio="3"
58+
android:maxAspectRatio="3.0"
5959
android:theme="@style/InputTheme" />
6060

6161
<service

0 commit comments

Comments
 (0)
Please sign in to comment.