Pointer Icon Refactor: Integrate setPointerIconVisible
Before the refactor, pointer icons were hidden when
setPointerIconVisible(display, false) was called by simply blocking all
the calls to set the pointer icon from java to native code.
This approach no longer works after the refactor. Instead, we must plumb
the setting down to PointerChoreographer, and let it handle it properly.
When pointer icons are hidden for a display, ensure that we do not show
the icon by refraining from calling unfade().
Bug: 320449549
Test: atest inputflinger_tests
Change-Id: I7b504a2b6a7dc66bf9717c8af593ee27516e53a5
3 files changed