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

Commit 887439b7 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove a dependency on IMMS#getCurrentImeUserIdLocked()

This is a mechanical refactoring CL to remove the dependency on

  InputMethodManagerService#getCurrentImeUserIdLocked()

from

  InputMethodBindingControllerTest

without changing any test expectation.

Bug: 350386877
Test: atest FrameworksInputMethodSystemServerTests
Flag: TEST_ONLY
Change-Id: I37fb73b112cab80d68636184c0ddbec1d883d90c
parent cd26e7fb
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -79,10 +79,8 @@ public class InputMethodBindingControllerTest extends InputMethodManagerServiceT
        // from system.
        // from system.
        synchronized (ImfLock.class) {
        synchronized (ImfLock.class) {
            mBindingController =
            mBindingController =
                    new InputMethodBindingController(
                    new InputMethodBindingController(mUserId, mInputMethodManagerService,
                            mInputMethodManagerService.getCurrentImeUserIdLocked(),
                            mImeConnectionBindFlags, mCountDownLatch);
                            mInputMethodManagerService, mImeConnectionBindFlags,
                            mCountDownLatch);
        }
        }
    }
    }