Skip to content

refactor: use location compat#4143

Merged
jamesarich merged 1 commit into
meshtastic:mainfrom
jamesarich:fix/locationmanagercompat
Jan 6, 2026
Merged

refactor: use location compat#4143
jamesarich merged 1 commit into
meshtastic:mainfrom
jamesarich:fix/locationmanagercompat

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

Refactors PhoneLocationProvider to use LocationListenerCompat and LocationRequestCompat for more robust and modern location handling.

This change ensures that location updates are also sent when the provider status changes (enabled/disabled). It also modernizes the API calls for requesting location updates.

fixes #4105

Refactors `PhoneLocationProvider` to use `LocationListenerCompat` and `LocationRequestCompat` for more robust and modern location handling.

This change ensures that location updates are also sent when the provider status changes (enabled/disabled). It also modernizes the API calls for requesting location updates.

fixes meshtastic#4105

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the bugfix PR tag label Jan 6, 2026
@codecov

codecov Bot commented Jan 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6bb54bc) to head (f931932).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4143   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          2       2           
  Lines         19      19           
  Branches       7       7           
=====================================
  Misses        19      19           

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

@jamesarich jamesarich added this pull request to the merge queue Jan 6, 2026
Merged via the queue into meshtastic:main with commit d05aca5 Jan 6, 2026
8 checks passed
@jamesarich jamesarich deleted the fix/locationmanagercompat branch January 6, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Clicking on "Open Compass" crashes the app

1 participant