commit | 018faea11a94d96ebc9e7294fc68f7df165c4875 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Wed May 08 21:52:54 2024 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Tue May 14 19:44:56 2024 +0000 |
tree | 1f33cbdc20b32bdf0bd32b2d796a12b1514886f6 | |
parent | 7b3c2125967eaba25a92511f90c1fdec522a62bf [diff] |
InputReader: Add API to get the last used input device This will be used by the InputMethodManagerService to notify the IME of the last input device type that was used to interact with Android when the IME is shown. This API eliminates the need for IMMS to add another global spy window to solve this problem. Bug: 336615195 Test: atest inputflinger_tests Change-Id: If594bd07bfd0a3cb542fc300854f1dd5717aeab2