summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android.hardware.power@1.0-service-qti.rc4
-rw-r--r--service.cpp12
2 files changed, 0 insertions, 16 deletions
diff --git a/android.hardware.power@1.0-service-qti.rc b/android.hardware.power@1.0-service-qti.rc
deleted file mode 100644
index 01739a0..0000000
--- a/android.hardware.power@1.0-service-qti.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-service power-hal-1-0 /vendor/bin/hw/android.hardware.power@1.0-service-qti
- class hal
- user system
- group system
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) {