From 420f26552469aa8b98692c27de2320a9c1c5dbc2 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 29 Sep 2019 23:59:05 +0300 Subject: power: clang-format * Using AOSP interface .clang-format * Clean Android.mk while we are at it Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada --- service.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'service.cpp') diff --git a/service.cpp b/service.cpp index f36141e..c8100b9 100644 --- a/service.cpp +++ b/service.cpp @@ -29,14 +29,14 @@ #define LOG_TAG "android.hardware.power@1.2-service-qti" -#include -#include #include +#include +#include #include "Power.h" +using android::OK; using android::sp; using android::status_t; -using android::OK; // libhwbinder: using android::hardware::configureRpcThreadpool; @@ -47,7 +47,6 @@ using android::hardware::power::V1_2::IPower; using android::hardware::power::V1_2::implementation::Power; int main() { - status_t status; android::sp service = nullptr; @@ -70,7 +69,7 @@ int main() { ALOGI("Power Service is ready"); joinRpcThreadpool(); - //Should not pass this line + // Should not pass this line shutdown: // In normal operation, we don't expect the thread pool to exit @@ -78,4 +77,3 @@ shutdown: ALOGE("Power Service is shutting down"); return 1; } - -- cgit v1.2.3