diff options
Diffstat (limited to 'service.cpp')
-rw-r--r-- | service.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<Power> 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) { |