Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3535c8dd authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
parent 0c88439c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment