|
|
|
@ -74,9 +74,8 @@ int main() { |
|
|
|
|
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 @@ int main() { |
|
|
|
|
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 @@ int main() { |
|
|
|
|
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,8 +101,7 @@ int main() { |
|
|
|
|
if (touchscreenGesture->isSupported()) { |
|
|
|
|
status = touchscreenGesture->registerAsService(); |
|
|
|
|
if (status != OK) { |
|
|
|
|
LOG(ERROR) |
|
|
|
|
<< "Could not register service for Touch HAL TouchscreenGesture Iface (" |
|
|
|
|
LOG(ERROR) << "Could not register service for Touch HAL TouchscreenGesture Iface (" |
|
|
|
|
<< status << ")"; |
|
|
|
|
goto shutdown; |
|
|
|
|
} |
|
|
|
|