commit | b65e2bd8ed1f3a87fe600cd23bf84cecb4105b57 | [log] [tgz] |
---|---|---|
author | Arpit Singh <arpitks@google.com> | Mon Jun 03 09:48:16 2024 +0000 |
committer | Arpit Singh <arpitks@google.com> | Wed Jun 12 16:50:31 2024 +0000 |
tree | 94212f5d19fbf865b8591390436786dee129617a | |
parent | 33bc33c39589c8e8d25efbab8c968f80c7508082 [diff] [blame] |
Dismiss the mouse pointer while typing on keyboard Fixes the borken UX to dismiss the mouse pointer while user is typing on the physical keyboard. Bug: b/338652288 Test: atest inputflinger_tests Change-Id: Ifc4bfd20a44650634d007fbcfc75bf497d5f4623
diff --git a/services/inputflinger/include/PointerChoreographerPolicyInterface.h b/services/inputflinger/include/PointerChoreographerPolicyInterface.h index f6dc109..7a85c12 100644 --- a/services/inputflinger/include/PointerChoreographerPolicyInterface.h +++ b/services/inputflinger/include/PointerChoreographerPolicyInterface.h
@@ -55,6 +55,9 @@ */ virtual void notifyPointerDisplayIdChanged(ui::LogicalDisplayId displayId, const FloatPoint& position) = 0; + + /* Returns true if any InputConnection is currently active. */ + virtual bool isInputMethodConnectionActive() = 0; }; } // namespace android