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

Make app minimal requirement to Android 4.4 #3692

Merged
merged 2 commits into from
Jan 29, 2023
Merged

Conversation

TranceLove
Copy link
Collaborator

Description

I think it's about time to put this through... also for #3318 and #2988 to proceed, be it within the 4.x cycle.

Not removing the pre-4.4 logic within the code for now - can do on your call.

Issue tracker

Fixes #3189

Automatic tests

  • Added test cases

Manual tests

  • Done

On Galaxy Nexus emulator running Android 4.3, Amaze no longer installs. But on Galaxy Nexus emulator running Android 4.4, Amaze still installs and runs.

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@TranceLove TranceLove added the Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. label Jan 7, 2023
@TranceLove TranceLove added this to the v4.0 milestone Jan 7, 2023
VishnuSanal
VishnuSanal previously approved these changes Jan 7, 2023
EmmanuelMess
EmmanuelMess previously approved these changes Jan 9, 2023
@EmmanuelMess
Copy link
Member

Probably should keep three android versions for tests, maybe kitkat, (something near) 5 and P?

@TranceLove
Copy link
Collaborator Author

@EmmanuelMess If I'm to choose I shall choose 4.4, 8.0 and 11.

@TranceLove TranceLove marked this pull request as draft January 9, 2023 05:33
- Robolectric Test against Android 4.4, 8.0 and 11.0
- Add GrantPermissionRule to unit tests that involve MainActivity, to grant MANAGE_EXTERNAL_STORAGE before starting
@TranceLove TranceLove dismissed stale reviews from EmmanuelMess and VishnuSanal via bf147c8 January 9, 2023 15:30
@TranceLove TranceLove marked this pull request as ready for review January 9, 2023 15:47
@VishalNehra VishalNehra merged commit d1ea0dd into release/4.0 Jan 29, 2023
@VishalNehra VishalNehra deleted the feature/3189 branch January 29, 2023 20:24
TranceLove added a commit that referenced this pull request Feb 2, 2023
Follow-up fix for #3692.
- Migrate tests that are still testing on JELLY_BEAN
- Update submodules Android version requirement to 4.4 too
@TranceLove TranceLove mentioned this pull request Feb 2, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make App's minimal requirement to Kitkat (4.4)
4 participants