diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2019-02-04 16:28:51 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-02-21 21:34:40 -0800 |
commit | 4149abcc2df9ac7bd13f38cb5047053a63f7b84b (patch) | |
tree | f472abcbee65d558f9805148494a4cc870f52692 /android/2.0/GnssMeasurement.h | |
parent | e78728024dd2b1998811478494319be07458d05e (diff) | |
download | gps-4149abcc2df9ac7bd13f38cb5047053a63f7b84b.tar.gz |
Measurement changes in GNSS HIDL2.0
CRs-fixed: 2385560
Change-Id: I5f4548e6df0cb8ac3f2762020dfdbb49a9022854
Diffstat (limited to 'android/2.0/GnssMeasurement.h')
-rw-r--r-- | android/2.0/GnssMeasurement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/2.0/GnssMeasurement.h b/android/2.0/GnssMeasurement.h index 6f3480b..000b00f 100644 --- a/android/2.0/GnssMeasurement.h +++ b/android/2.0/GnssMeasurement.h @@ -56,7 +56,7 @@ struct GnssMeasurement : public V2_0::IGnssMeasurement { bool enableFullTracking) override; // Methods from ::android::hardware::gnss::V2_0::IGnssMeasurement follow. - Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> setCallback_2_0( + Return<GnssMeasurement::GnssMeasurementStatus> setCallback_2_0( const sp<V2_0::IGnssMeasurementCallback>& callback, bool enableFullTracking) override; private: @@ -73,6 +73,7 @@ struct GnssMeasurement : public V2_0::IGnssMeasurement { sp<GnssMeasurementDeathRecipient> mGnssMeasurementDeathRecipient = nullptr; sp<V1_0::IGnssMeasurementCallback> mGnssMeasurementCbIface = nullptr; sp<V1_1::IGnssMeasurementCallback> mGnssMeasurementCbIface_1_1 = nullptr; + sp<V2_0::IGnssMeasurementCallback> mGnssMeasurementCbIface_2_0 = nullptr; MeasurementAPIClient* mApi; }; |