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

Milestone 132 - update SDK versions #1168

Merged
merged 22 commits into from
Oct 26, 2024
Merged

Milestone 132 - update SDK versions #1168

merged 22 commits into from
Oct 26, 2024

Conversation

mendhak
Copy link
Owner

@mendhak mendhak commented Sep 29, 2024

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

@mendhak mendhak changed the title Milestone 132 Milestone 132 - update SDK versions Sep 30, 2024
@mendhak mendhak added this to the v132 milestone Sep 30, 2024
@mendhak
Copy link
Owner Author

mendhak commented Oct 5, 2024

On Android 15 the top action bar seems to be offset. There's some new 'edge to edge' layout I need to take into account, I've been trying a lot of things I find on StackOverflow but nothing's working. What a PITA.

image

@mendhak
Copy link
Owner Author

mendhak commented Oct 5, 2024

Reinstalled the app in the emulator and it's back to normal... I'm confused now.

@mendhak mendhak marked this pull request as ready for review October 24, 2024 19:54
@mendhak mendhak merged commit 6d6d907 into master Oct 26, 2024
2 checks passed
@mendhak
Copy link
Owner Author

mendhak commented Nov 22, 2024

v132 is now in FDroid and Releases.

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