diff options
| author | 2024-07-31 18:23:23 -0700 | |
|---|---|---|
| committer | 2024-07-31 18:23:23 -0700 | |
| commit | 3535c8ddc9fca17098f78f452febe54aebda214e (patch) | |
| tree | 22e75d06588c167298ea0d096978b337e7e34055 /libs/androidfw/StringPool.cpp | |
| parent | 0c88439c7e8028cbd9b9ed4c76e07d87fb209841 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions