lineagehw: hidl: touch: run clang-format
Change-Id: If7126936fc4e0804c29061c7ecc706228654af15
diff --git a/lineagehw/hidl/touch/service.cpp b/lineagehw/hidl/touch/service.cpp
index 1bdc66f..e12326c 100644
--- a/lineagehw/hidl/touch/service.cpp
+++ b/lineagehw/hidl/touch/service.cpp
@@ -74,9 +74,8 @@
if (gloveMode->isSupported()) {
status = gloveMode->registerAsService();
if (status != OK) {
- LOG(ERROR)
- << "Could not register service for Touch HAL GloveMode Iface ("
- << status << ")";
+ LOG(ERROR) << "Could not register service for Touch HAL GloveMode Iface (" << status
+ << ")";
goto shutdown;
}
}
@@ -84,9 +83,8 @@
if (keyDisabler->isSupported()) {
status = keyDisabler->registerAsService();
if (status != OK) {
- LOG(ERROR)
- << "Could not register service for Touch HAL KeyDisabler Iface ("
- << status << ")";
+ LOG(ERROR) << "Could not register service for Touch HAL KeyDisabler Iface (" << status
+ << ")";
goto shutdown;
}
}
@@ -94,9 +92,8 @@
if (stylusMode->isSupported()) {
status = stylusMode->registerAsService();
if (status != OK) {
- LOG(ERROR)
- << "Could not register service for Touch HAL StylusMode Iface ("
- << status << ")";
+ LOG(ERROR) << "Could not register service for Touch HAL StylusMode Iface (" << status
+ << ")";
goto shutdown;
}
}
@@ -104,16 +101,15 @@
if (touchscreenGesture->isSupported()) {
status = touchscreenGesture->registerAsService();
if (status != OK) {
- LOG(ERROR)
- << "Could not register service for Touch HAL TouchscreenGesture Iface ("
- << status << ")";
+ LOG(ERROR) << "Could not register service for Touch HAL TouchscreenGesture Iface ("
+ << status << ")";
goto shutdown;
}
}
LOG(INFO) << "Touch HAL 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 shutdown