lineagehw: hidl: touch: run clang-format
Change-Id: If7126936fc4e0804c29061c7ecc706228654af15
diff --git a/lineagehw/hidl/touch/StylusMode.cpp b/lineagehw/hidl/touch/StylusMode.cpp
index aa86e7a..e3190db 100644
--- a/lineagehw/hidl/touch/StylusMode.cpp
+++ b/lineagehw/hidl/touch/StylusMode.cpp
@@ -29,8 +29,7 @@
if (file.is_open()) {
std::string line;
while (getline(file, line)) {
- if (!line.compare("hover_enable"))
- return true;
+ if (!line.compare("hover_enable")) return true;
}
file.close();
}
@@ -43,8 +42,7 @@
if (file.is_open()) {
std::string line;
getline(file, line);
- if (!line.compare("hover_enable,1:OK"))
- return true;
+ if (!line.compare("hover_enable,1:OK")) return true;
file.close();
}
return false;