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

Commit 060e035c authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Add missing method called from native code.

am: edd11f50

* commit 'edd11f50':
  Add missing method called from native code.

Change-Id: I7834d6bb96cd15c085706c360f00915760aff459
parents 2773d6d5 edd11f50
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
     */