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

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

Introduce IMMS#getInputMethodBindingController()

This is a mechcanical refactoring CL that aims to simplify the code by
taking advantage of per-user InputMethodBindingController instance we
recently introduced [1].

As you can see in this CL, the following code snippet can be seen so
many places.

 final var userData = mUserDataRepository.getOrCreate(mCurrentUserId);
 final var bindingController = userData.mBindingController;

Let's simplify them by introducing

 InputMethodManagerService#getInputMethodBindingController(userId).

There must be no observable behavior change.

 [1]: Id6e9eca6caaa8edde8c4a405448c31c0ca986509
      2238ecd4

Bug: 325515685
Bug: 339358344
Test: presubmit
Change-Id: I3e2d196e91c9adbc326388a6ebbbbcfe6b46b196
parent 584dcb60
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