aboutsummaryrefslogtreecommitdiff
path: root/gps/android/location_api/MeasurementAPIClient.h
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2018-12-06 20:47:47 +0100
committerDavide Garberi <dade.garberi@gmail.com>2018-12-04 13:55:19 +0100
commit3f963bb897e8c5f8c633af50c96bdb4e68a6c5a8 (patch)
tree33695824de14addf3108cdecefe1dec49e87f640 /gps/android/location_api/MeasurementAPIClient.h
parente95825d6dbfa247b82678cf48c85399bd4d5bc58 (diff)
msm8996-common: gps: Switch back to 89xx tags
* Basically just remove the gnss 1.1 support * Tag: LA.UM.7.6.r1-03100-89xx.0 Change-Id: Ie52463e60c6f6bb127e736fe3e23a8b75c044a3a Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'gps/android/location_api/MeasurementAPIClient.h')
-rw-r--r--gps/android/location_api/MeasurementAPIClient.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/gps/android/location_api/MeasurementAPIClient.h b/gps/android/location_api/MeasurementAPIClient.h
index 117ad54..08b4811 100644
--- a/gps/android/location_api/MeasurementAPIClient.h
+++ b/gps/android/location_api/MeasurementAPIClient.h
@@ -31,15 +31,15 @@
#define MEASUREMENT_API_CLINET_H
#include <mutex>
-#include <android/hardware/gnss/1.1/IGnssMeasurement.h>
-#include <android/hardware/gnss/1.1/IGnssMeasurementCallback.h>
+#include <android/hardware/gnss/1.0/IGnssMeasurement.h>
+#include <android/hardware/gnss/1.0/IGnssMeasurementCallback.h>
#include <LocationAPIClientBase.h>
#include <hidl/Status.h>
namespace android {
namespace hardware {
namespace gnss {
-namespace V1_1 {
+namespace V1_0 {
namespace implementation {
using ::android::sp;
@@ -55,8 +55,6 @@ public:
// for GpsMeasurementInterface
Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> measurementSetCallback(
const sp<V1_0::IGnssMeasurementCallback>& callback);
- Return<V1_0::IGnssMeasurement::GnssMeasurementStatus> measurementSetCallback_1_1(
- const sp<IGnssMeasurementCallback>& callback);
void measurementClose();
Return<IGnssMeasurement::GnssMeasurementStatus> startTracking();
@@ -66,13 +64,12 @@ public:
private:
std::mutex mMutex;
sp<V1_0::IGnssMeasurementCallback> mGnssMeasurementCbIface;
- sp<IGnssMeasurementCallback> mGnssMeasurementCbIface_1_1;
bool mTracking;
};
} // namespace implementation
-} // namespace V1_1
+} // namespace V1_0
} // namespace gnss
} // namespace hardware
} // namespace android