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

Skip to content
Commit c131c6e5 authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Use user-aware context in IMMS#queryInputMethodServicesInternal

As queryInputMethodServicesInternal is to query the installed IME apps
of the given userId with returning the list of InputMethodInfo, however,
there is a bug that it always initializes InputMethodInfo with user 0's
XML resources from the system context.

Fix this issue by using user-aware context to ensure creating
InputMethodInfo will load the correct resources settings with the
corresponding context of the userId.

Fix: 249081323
Test: atest CtsInputMethodTestCases
Change-Id: I47578c8bba5d9e04301ed3727ad1efa6496653e6
parent f636af70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment