Skip to content

Conversation

@jamesarich
Copy link
Collaborator

This commit increases the minimum SDK version to 32 (Android 12L), which allows for the removal of compatibility code for older Android versions.

Key changes:

  • Bumps minSdk from 26 to 32.
  • Removes conditional logic and permissions for Android versions below 12.
  • Simplifies Bluetooth permission handling, location services, and UI code.

@codecov
Copy link

codecov bot commented Dec 28, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (5676041) to head (88f0522).

Files with missing lines Patch % Lines
...tlin/org/meshtastic/core/common/ContextServices.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4091   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          2       2           
  Lines         19      15    -4     
  Branches       7       6    -1     
=====================================
+ Misses        19      15    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit increases the minimum SDK version to 32 (Android 12L), allowing for the removal of compatibility code for older Android versions.

Key changes include:
*   Updated `MIN_SDK` from 26 to 32.
*   Removed conditional logic for API levels below 32, particularly for permissions, foreground services, and UI components.
*   Simplified Bluetooth permission handling to only target modern APIs.
*   Cleaned up AndroidManifest by removing legacy permission tags.

Signed-off-by: James Rich <[email protected]>
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