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
Loading
Please register or sign in to comment