LocationManager: expose more information from the backend to the apps

note: GnssStatus was accidentally bundled into ab5b600bf1
This commit is contained in:
Mis012
2025-03-26 21:25:39 +01:00
parent d2e2ab37bc
commit 12121d2d48
5 changed files with 87 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ public class SensorManager {
new LocationManager().requestLocationUpdates(null, 0, 0, new LocationListener() {
@Override
public void onLocationChanged(Location location) {
listener.onSensorChanged(new SensorEvent(new float[]{(float)location.getBearing()}, sensor));
listener.onSensorChanged(new SensorEvent(new float[]{location.getBearing()}, sensor));
}
});
return true;