diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2018-10-02 18:07:47 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2018-10-02 22:48:26 +0300 |
commit | bc8e0f25f62ea4ee5435232d87a2a688fac889ef (patch) | |
tree | 4f87cab58d5e7513b5a3b0587f4aa4a6a48637bc /service.cpp | |
parent | 93023a23294306052cb6ac0164ab63ee0596afa0 (diff) | |
download | android_hardware_qcom_power-bc8e0f25f62ea4ee5435232d87a2a688fac889ef.tar.gz android_hardware_qcom_power-bc8e0f25f62ea4ee5435232d87a2a688fac889ef.tar.bz2 android_hardware_qcom_power-bc8e0f25f62ea4ee5435232d87a2a688fac889ef.zip |
power: Remove 1.0 HAL remnants
* Missed in bd767ce687270079bf436373a292922b7424f60d
Change-Id: I78a1af2867f49687662d6961bccd777c7937cea2
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) { |