From dcd79b4918125445db14e639cfeb0c9b9e122277 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Mon, 16 Dec 2019 15:09:07 -0800 Subject: 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. Bug: 147209076 Test: NTP time inject test Change-Id: I2a4c4da4d4b7c46c8ebe70f0666b2fd8ad1a6a5f CRs-Fixed: 2595204 --- android/1.1/Gnss.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'android/1.1') diff --git a/android/1.1/Gnss.cpp b/android/1.1/Gnss.cpp index 277dbc1..aa761e2 100644 --- a/android/1.1/Gnss.cpp +++ b/android/1.1/Gnss.cpp @@ -305,14 +305,7 @@ Return Gnss::injectLocation(double latitudeDegrees, Return 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 false; } Return Gnss::deleteAidingData(V1_0::IGnss::GnssAidingData aidingDataFlags) { -- cgit v1.2.3