Skip to content

Conversation

@Szymon20000
Copy link
Contributor

@Szymon20000 Szymon20000 commented Dec 16, 2018

Description (required)

Resolves #2125

What changes did you make and why?

https://developer.android.com/guide/topics/manifest/activity-element#config
"If your application targets Android 3.2 (API level 13) or higher, then you should also declare the "screenSize" configuration, because it also changes when a device switches between portrait and landscape orientations." - from docs.

@domdomegg
Copy link
Member

Build problem fix a duplicate of #2028

@domdomegg
Copy link
Member

Can you make this one just target #2125?

@Szymon20000 Szymon20000 changed the title Fixed build problem and crashing SearchActivity after orientation change Fixed problem with crashing SearchActivity after orientation change Dec 16, 2018
@Szymon20000
Copy link
Contributor Author

@domdomegg done.

@domdomegg domdomegg self-requested a review December 16, 2018 14:58
@domdomegg
Copy link
Member

Change seems okay, tested on API levels 25 and 28. Don't know if it fixes the issue as was unable to recreate.

Given the documentation, think it's still worth merging even if bug irrelevant.

@domdomegg
Copy link
Member

This does fix the issue - although I believe the 'true' issue might be deeper. Merging this as does prevent the crash and also recommended by documentation.

@domdomegg domdomegg merged commit e09ce41 into commons-app:master Dec 16, 2018
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