From bc8e0f25f62ea4ee5435232d87a2a688fac889ef Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 2 Oct 2018 18:07:47 +0300 Subject: power: Remove 1.0 HAL remnants * Missed in bd767ce687270079bf436373a292922b7424f60d Change-Id: I78a1af2867f49687662d6961bccd777c7937cea2 --- service.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'service.cpp') diff --git a/service.cpp b/service.cpp index ab14bc5..4b74156 100644 --- a/service.cpp +++ b/service.cpp @@ -15,11 +15,7 @@ * limitations under the License. */ -#ifdef V1_0_HAL -#define LOG_TAG "android.hardware.power@1.0-service-qti" -#else #define LOG_TAG "android.hardware.power@1.1-service-qti" -#endif // #define LOG_NDEBUG 0 @@ -37,22 +33,14 @@ using android::hardware::configureRpcThreadpool; using android::hardware::joinRpcThreadpool; // Generated HIDL files -#ifdef V1_0_HAL -using android::hardware::power::V1_0::implementation::Power; -#else using android::hardware::power::V1_1::implementation::Power; -#endif int main() { status_t status; android::sp service = nullptr; -#ifdef V1_0_HAL - ALOGI("Power HAL Service 1.0 for QCOM is starting."); -#else ALOGI("Power HAL Service 1.1 for QCOM is starting."); -#endif service = new Power(); if (service == nullptr) { -- cgit v1.2.3