diff options
| author | 2022-12-08 16:35:12 +0000 | |
|---|---|---|
| committer | 2022-12-08 16:51:36 +0000 | |
| commit | ec5aa8f126cfc10219a875f81c094ce0b5fc0af1 (patch) | |
| tree | c50fbf74d1553c989a5258e45ba5eaa1d53705b1 /libs/input/PointerController.cpp | |
| parent | 45287079e73c73dba6ad1f6698f9b6136d1ae3f6 (diff) | |
ActivityManagerShellCommand calls getUserSwitchability with wrong user
UserManager.getUserSwitchability API is always called with userId 0
from ActivityManagerShellCommand. This CL fixes that issue by passing
the userId parameter came from the command line to the API.
Bug: 261857907
Test: adb shell am switch-user -w 10
Change-Id: I3d6fa18f63f4b6e01acbf197cfcb5cedb614925c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions