Skip to content

Commit bee2cd3

Browse files
authored
Remove screenOrientation to comply with Google Play requirements..
1 parent 045b0ad commit bee2cd3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pythonforandroid/bootstraps/_sdl_common/build/templates/AndroidManifest.tmpl.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@
6868

6969
<activity android:name="{{args.android_entrypoint}}"
7070
android:label="@string/app_name"
71-
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}"
72-
android:screenOrientation="{{ args.manifest_orientation }}"
71+
android:resizeableActivity="true"
72+
android:supportsPictureInPicture="true"
7373
android:exported="true"
74+
android:launchMode="{% if args.activity_launch_mode %}{{ args.activity_launch_mode }}{% else %}singleTask{% endif %}"
75+
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}"
76+
android:windowSoftInputMode="adjustResize">
7477
{% if args.activity_launch_mode %}
7578
android:launchMode="{{ args.activity_launch_mode }}"
7679
{% endif %}

0 commit comments

Comments
 (0)