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

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

Extract IME list creation logic from IMMS#buildInputMethodListLocked()

This is a preparation to introcude following two methods into
InputMethodManagerService (IMMS).

  * getInputMethodListForUser(int userId)
  * getEnabledInputMethodListForUser(int UserId).

In order to implement those methods (with minimum changes), the logic
to create List<InputMethodInfo> for the given user needs to be
extracted out from IMMS#buildInputMethodListLocked() to avoid code
duplicate.

This CL itself is a mechanical refactoring hence there should be no
behavior change.

Bug: 120709962
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I7f7e3637ea44dddc1210bc2889b519f17bbcd545
parent 6048d894
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