Add missing method called from native code.
am: edd11f5
* commit 'edd11f50c684a7f4c27b97ff381910a23a999fa3':
Add missing method called from native code.
Change-Id: I7834d6bb96cd15c085706c360f00915760aff459
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user