diff options
Diffstat (limited to 'services/inputflinger/InputManager.cpp')
-rw-r--r-- | services/inputflinger/InputManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/services/inputflinger/InputManager.cpp b/services/inputflinger/InputManager.cpp index a7fd9bab95..b0157a166f 100644 --- a/services/inputflinger/InputManager.cpp +++ b/services/inputflinger/InputManager.cpp @@ -103,7 +103,8 @@ public: } }; -void InputManager::setInputWindows(const Vector<InputWindowInfo>& infos) { +void InputManager::setInputWindows(const Vector<InputWindowInfo>& infos, + const sp<ISetInputWindowsListener>& setInputWindowsListener) { std::unordered_map<int32_t, Vector<sp<InputWindowHandle>>> handlesPerDisplay; Vector<sp<InputWindowHandle>> handles; @@ -112,7 +113,7 @@ void InputManager::setInputWindows(const Vector<InputWindowInfo>& infos) { handlesPerDisplay[info.displayId].add(new BinderWindowHandle(info)); } for (auto const& i : handlesPerDisplay) { - mDispatcher->setInputWindows(i.second, i.first); + mDispatcher->setInputWindows(i.second, i.first, setInputWindowsListener); } } |