Fix crash for multiple virtual mice associated to multiple displays
Currently, we seem to update the virtual mouse pointer display id in
InputManager only during mouse creation/destruction. This doesn't work
if we have multiple mice, each associated with a different display.
Hence, we update the virtual mouse pointer display id in InputManager
based on which virtual mouse is currently being used.
Test: atest VirtualMouseTest
Bug: 302121028
Change-Id: I36dbb7b0eacfbef1a30ef7e088f28e4e3e1cdaa1
2 files changed