Revert "SF: Update InputFlinger outside main thread"
This reverts commit 42a27b5657975485a72033736f37bfe6de0e21a8.
Reason for revert: <Breaking presubmit tests>
Bug: 207839663
Change-Id: Ic066d5a44339128a59e8aa3bb488a41cad13cf76
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp
index bb7e1a4..f848e4f 100644
--- a/libs/gui/LayerState.cpp
+++ b/libs/gui/LayerState.cpp
@@ -546,7 +546,9 @@
}
bool InputWindowCommands::empty() const {
- return focusRequests.empty() && !syncInputWindows;
+ bool empty = true;
+ empty = focusRequests.empty() && !syncInputWindows;
+ return empty;
}
void InputWindowCommands::clear() {