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

Unverified Commit d5923fb9 authored by Yu-Han Yang's avatar Yu-Han Yang Committed by Kevin F. Haggerty
Browse files

DO NOT MERGE: Do not inject mock location to chipset

Bug: 177561690
Test: on device
Change-Id: Icafbdf54fe807f8779377b13cb4e4eb265db692e
(cherry picked from commit 579b74d5)
parent 80c0a800
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1084,6 +1084,9 @@ public class GnssLocationProvider implements LocationProviderInterface {
    }

    private void handleUpdateLocation(Location location) {
        if (location.isFromMockProvider()) {
            return;
        }
        if (location.hasAccuracy()) {
            native_inject_location(location.getLatitude(), location.getLongitude(),
                    location.getAccuracy());