Skip to content

Add screenSize to android:configChanges in AndroidManifest.xml if API >= 13#956

Merged
akshayaurora merged 1 commit intokivy:masterfrom
rnixx:sdl2_orientation_fix
Dec 13, 2016
Merged

Add screenSize to android:configChanges in AndroidManifest.xml if API >= 13#956
akshayaurora merged 1 commit intokivy:masterfrom
rnixx:sdl2_orientation_fix

Conversation

@rnixx
Copy link
Member

@rnixx rnixx commented Dec 13, 2016

According to https://developer.android.com/guide/topics/manifest/activity-element.html#config -> orientation:

If your application targets API level 13 or higher (as declared by the minSdkVersion and targetSdkVersion attributes), then you should also declare the "screenSize" configuration, because it also changes when a device switches between portrait and landscape orientations.

If screenSize not given app freezes on orientation change.

@akshayaurora
Copy link
Member

👍

@akshayaurora akshayaurora merged commit ef6a2c5 into kivy:master Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants