diff options
Diffstat (limited to '')
-rw-r--r-- | gps/android/1.0/Gnss.h (renamed from gps/android/Gnss.h) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gps/android/Gnss.h b/gps/android/1.0/Gnss.h index 03ef170..900a510 100644 --- a/gps/android/Gnss.h +++ b/gps/android/1.0/Gnss.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018-2018-2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. * Not a Contribution */ /* @@ -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); |