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

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

Inline IMMS#isSelectedMethodBoundLocked()

With this commit we avoid redundant invocations of

  IMMS#mUserDataRepository.getOrCreate(mCurrentUserId)

from

  InputMethodManagerService#startInputUncheckedLocked()

by recursively inlining

  InputMethodManagerService#isSelectedMethodBoundLocked().

This is a mechanical optimization. There must be no observable
behavior change.

Bug: 325515685
Test: presubmit
Change-Id: I25e2d1735824fa2ce91ed2cfe71b21653c950bf5
parent 14bea363
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