Skip to content

Commit 8940bd9

Browse files
committed
Added Cast str to int in AndroidManifest.tmpl.xml to resolve this issue kivy#322
1 parent 462c12f commit 8940bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/templates/AndroidManifest.tmpl.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
android:normalScreens="true"
1212
android:largeScreens="true"
1313
android:anyDensity="true"
14-
{% if args.min_sdk_version >= 9 %}
14+
{% if args.min_sdk_version|int >= 9 %}
1515
android:xlargeScreens="true"
1616
{% endif %}
1717
/>
@@ -29,7 +29,7 @@
2929

3030
<activity android:name="org.renpy.android.PythonActivity"
3131
android:label="@string/iconName"
32-
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 13 %}|screenSize{% endif %}"
32+
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version|int >= 13 %}|screenSize{% endif %}"
3333
android:launchMode="singleTask"
3434
android:process=":python"
3535
android:screenOrientation="{{ args.orientation }}"

0 commit comments

Comments
 (0)