summaryrefslogtreecommitdiff
path: root/android/1.0/Gnss.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/1.0/Gnss.h')
-rw-r--r--android/1.0/Gnss.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/1.0/Gnss.h b/android/1.0/Gnss.h
index c23b337..900a510 100644
--- a/android/1.0/Gnss.h
+++ b/android/1.0/Gnss.h
@@ -99,7 +99,7 @@ struct Gnss : public IGnss {
GnssAPIClient* getApi();
Return<bool> setGnssNiCb(const sp<IGnssNiCallback>& niCb);
Return<bool> updateConfiguration(GnssConfig& gnssConfig);
- GnssInterface* getGnssInterface();
+ const GnssInterface* getGnssInterface();
// Callback for ODCPI request
void odcpiRequestCb(const OdcpiRequestInfo& request);
@@ -129,7 +129,7 @@ struct Gnss : public IGnss {
sp<V1_0::IGnssCallback> mGnssCbIface = nullptr;
sp<V1_0::IGnssNiCallback> mGnssNiCbIface = nullptr;
GnssConfig mPendingConfig;
- GnssInterface* mGnssInterface = nullptr;
+ const GnssInterface* mGnssInterface = nullptr;
};
extern "C" IGnss* HIDL_FETCH_IGnss(const char* name);