Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31e0f961 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check for Location Feature and GNSS HAL Support" into main am: 55e5d42f am: 198af4b6

parents 2962a624 198af4b6
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1346,8 +1346,10 @@ public class LocationManagerService extends ILocationManager.Stub implements
                    "setAutomotiveGnssSuspended only allowed on automotive devices");
        }

        if (mGnssManagerService != null) {
              mGnssManagerService.setAutomotiveGnssSuspended(suspended);
        }
    }

    @android.annotation.EnforcePermission(android.Manifest.permission.CONTROL_AUTOMOTIVE_GNSS)
    @Override
@@ -1361,8 +1363,11 @@ public class LocationManagerService extends ILocationManager.Stub implements
                    "isAutomotiveGnssSuspended only allowed on automotive devices");
        }

        if (mGnssManagerService != null) {
              return mGnssManagerService.isAutomotiveGnssSuspended();
        }
        return false;
    }

    @Override
    public boolean isGeocodeAvailable() {