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

Commit 55e5d42f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Check for Location Feature and GNSS HAL Support" into main

parents bd1fe2d3 d1323b81
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -1321,8 +1321,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
@@ -1336,8 +1338,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() {