diff options
| author | 2021-11-29 21:38:10 +0000 | |
|---|---|---|
| committer | 2021-11-30 00:50:19 +0000 | |
| commit | ac331c52c5fe0edba5bff7a671bdac724d99fb01 (patch) | |
| tree | eb9c8615e8252e4578a752b15117dc987888b252 /libs/gui/LayerState.cpp | |
| parent | 42a27b5657975485a72033736f37bfe6de0e21a8 (diff) | |
Revert "SF: Update InputFlinger outside main thread"
This reverts commit 42a27b5657975485a72033736f37bfe6de0e21a8.
Reason for revert: <Breaking presubmit tests>
Bug: 207839663
Change-Id: Ic066d5a44339128a59e8aa3bb488a41cad13cf76
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index bb7e1a48f7..f848e4ffde 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -546,7 +546,9 @@ bool InputWindowCommands::merge(const InputWindowCommands& other) { } bool InputWindowCommands::empty() const { - return focusRequests.empty() && !syncInputWindows; + bool empty = true; + empty = focusRequests.empty() && !syncInputWindows; + return empty; } void InputWindowCommands::clear() { |