-
Notifications
You must be signed in to change notification settings - Fork 609
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
Milestone 132 - update SDK versions #1168
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… size of NMEA queue
…imized battery not allowed
… for register receivers
Reinstalled the app in the emulator and it's back to normal... I'm confused now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Focusing on upgrades for now, lots of SDK and libraries are way behind. target and compile SDK need updating. FDroid and sideloading dialogs warn about this being built for an older version of Android. Jetpack also needs a minSdk of 21 as of April 2024.
Most importantly this means Android 4.x is being dropped. Well, OK, it has been 13+ years.
I am actually considering making the minimum Android 7, because this site apilevels.com indicates it's covering 97%.
Pending Intents now need to say if they're mutable or immutable. Some were mutable.
Upgraded logger version, and fix parameter formatting when displayed in the log view fragment.
GpsStatus is deprecated, using GnssStatus. But since I'm still targetting older versions, I need to keep GpsStatus around. That means more if statements and potentially missed paths of testing.
I've removed the 'add to media database' code. It's unnecesary CPU cycles and I think it's meant for audio/video/image files, not text files.
Increased size of the queue for NMEA logger since it's so rapid, and the Rejection Handler should now say which thing it's rejecting.
Exact alarms are denied by default. Adjusted code, if background work (unoptimized battery) is granted, exact alarm used to schedule next point, else inexact alarm used.
#1163 Update the compile/target/min SDK versions so that Google Play Protect and F-Droid stop complaining