commit | 9ed43398bd0766e759da21e89d9ea5c10bad2b78 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Fri May 27 06:31:57 2022 +0000 |
committer | Arthur Hung <arthurhung@google.com> | Fri Jun 17 01:32:01 2022 +0000 |
tree | 92094f2d627ea142e488f4b0851ddc026facedde | |
parent | 55b2c0b5e9e0be0d35775dfa2ca958ae7ca0b9b1 [diff] |
Reduce setInputWindows call (1/2) The cursor surface and hotspot surface would cause the visible region dirty when moving on the screen. That would also cause SF update the input infos to InputFlinger. To reduce unecessary updating, add more checking for same value and ignore updating if just the cursor moving. Test: enable setInputWindow log, connect a mouse device and move. Bug: 133780957 Change-Id: I099c1175e291adccfafce49536acfdfb38c40371