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

Commit 198af4b6 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

parents 6af23712 55e5d42f
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1344,8 +1344,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
@@ -1359,8 +1361,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 geocoderIsPresent() {