Avoid passing USER_ALL to getInputMethodBindingController()
This CL fixes a bug that sending ACTION_CLOSE_SYSTEM_DIALOGS to
USER_ALL can register user -1 into IMMS#mUserDataRepository.
The root cause was that
ImmsBroadcastReceiverForAllUsers#onReceive()
had passed senderUserId as is even when it is USER_ALL (-1).
There must be no observable behavior change in the single-user
mode. As for multi-user mode, InputMethodMenuController{,New} are not
yet supported thus there should be no behavior change.
Bug: 350386877
Test: Manually verified
Flag: EXEMPT bug fix
Change-Id: I26093b432d1ea7eb9fb73d9f9f00d503592b252a
1 file changed