stub out injectTime API as we should not handle that
We should no longer accept the NTP injection from AFW
as we have our XC handling the NTP update.
Change-Id: I2a4c4da4d4b7c46c8ebe70f0666b2fd8ad1a6a5f
CRs-Fixed: 2595204
diff --git a/sdm845/android/Gnss.cpp b/sdm845/android/Gnss.cpp
index 8d5d8a8..74f7f83 100644
--- a/sdm845/android/Gnss.cpp
+++ b/sdm845/android/Gnss.cpp
@@ -289,14 +289,7 @@
Return<bool> Gnss::injectTime(int64_t timeMs, int64_t timeReferenceMs,
int32_t uncertaintyMs) {
- ENTRY_LOG_CALLFLOW();
- const GnssInterface* gnssInterface = getGnssInterface();
- if (nullptr != gnssInterface) {
- gnssInterface->injectTime(timeMs, timeReferenceMs, uncertaintyMs);
- return true;
- } else {
return false;
- }
}
Return<void> Gnss::deleteAidingData(V1_0::IGnss::GnssAidingData aidingDataFlags) {