Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify configChanges manifest entry and add missing values #1522

Merged
merged 1 commit into from Dec 15, 2018
Merged

Unify configChanges manifest entry and add missing values #1522

merged 1 commit into from Dec 15, 2018

Conversation

ghost
Copy link

@ghost ghost commented Dec 12, 2018

The current manifests don't specify some values in configChanges, e.g. the ones relevant for the side-by-side feature of new Android versions. If these values are missing, the SDLActivity will be restarted - however, SDL2 as a result will simply quit even when the application is in foreground/active without restarting properly, so the application crashes/instant-quits at any of these events.

In this spirit, the pygame bootstrap also seemed to have a lot more of these values added already, avoiding such config-triggered crashes. But for some reason these weren't in the other bootstraps. I unified the values for all bootstraps, and added the missing ones of newer API levels like density.

Note: to fully get side by side working, we also need #1528 - but with these combined, it works perfectly!

@ghost ghost changed the title [WIP] Unify configChanges manifest entry and add missing values Unify configChanges manifest entry and add missing values Dec 13, 2018
@ghost
Copy link
Author

ghost commented Dec 13, 2018

Worked fine for my app! More testing & merging welcome!

@AndreMiras AndreMiras self-assigned this Dec 15, 2018
Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good on paper. I've tried sdl2 and as you stated the side by side is not yet working, but the app seems fine.
Thanks!

@AndreMiras AndreMiras merged commit 33a058d into kivy:master Dec 15, 2018
@ghost ghost deleted the unify-improve-configchanges branch December 15, 2018 21:01
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.

1 participant