summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2022-09-02 11:49:17 -0700
committer Yuncheol Heo <ycheo@google.com> 2022-09-02 12:30:17 -0700
commit4ab0f4fe43a31487dcc412764baf8d7226334c6a (patch)
tree8ad060155a642fc6f61d633e77dd1b82f6861751 /libs/input/PointerController.cpp
parent7a1bfdd0a1d7fe2a3e48f1fa14ed0b1341874054 (diff)
Temporary fix on isUserVisibleOnDisplay(userId, displayId).
WM will use this API, but the current implementation would break the behavior on non-passenger displays (like cluster, display, or virtual displays). So, this CL is (temporarily) changing the API to always return true for the current user (and its profiles), regardless of the display; the long-term solution would require integrating UserManagerService with DisplayManagerService for displays management. Also added a UserManagerInternal.isUserVisible(userId) method (which will be used by WM during Activity transition). Test: adb shell am start-user --display 42 13 && \ adb shell cmd user is-user-visible --display 42 0 Bug: 244644281 Change-Id: I5330016e0123e85c0f2ab3fc24a4f683994fdfe8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions