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

Commit edd11f50 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Add missing method called from native code.

Without this method, boot would fail.

Bug: 28093387
Change-Id: I304d48bbf3ea24ce6af3b5a71c60b8ed06be38e1
parent 30f37594
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import android.location.IGnssStatusListener;
import android.location.IGnssStatusProvider;
import android.location.GnssMeasurementsEvent;
import android.location.GnssNavigationMessage;
import android.location.GnssNavigationMessageEvent;
import android.location.IGpsGeofenceHardware;
import android.location.ILocationManager;
import android.location.INetInitiatedListener;
@@ -1666,6 +1667,16 @@ public class GnssLocationProvider implements LocationProviderInterface {
        mGnssNavigationMessageProvider.onNavigationMessageAvailable(event);
    }

    /**
     * called from native code - GPS navigation message callback
     */
    private void reportNavigationMessage(GnssNavigationMessageEvent event) {
        if (event != null) {
            mGnssNavigationMessageProvider
                    .onNavigationMessageAvailable(event.getNavigationMessage());
        }
    }

    /**
     * called from native code to inform us what the GPS engine capabilities are
     */