summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2024-06-13 11:47:31 -0700
committer Yohei Yukawa <yukawa@google.com> 2024-06-13 11:47:31 -0700
commit7a1b3dca73e364ce9866f914102cf616b99cd5fe (patch)
tree3150f5b5c3a9f68a7af440e0af9513302b74d6e1 /libs/androidfw/StringPool.cpp
parent25baebe5a9d3a8e14d1b46ba6db6f4908d452c7e (diff)
Add InputMethodBindingController#getSelectedMethod()
This is a preparation before making InputMethodManagerService#mSwitchingController per-user. The following code is often used in InputMethodManagerService. final var settings = InputMethodSettingsRepository.get(userId); final var imi = settings.getMethodMap().get(getSelectedMethodIdLocked()); Let's add a utility method to InputMethodBindingController so that we can avoid the above common code. This is a mechanical refactoring CL. There must be no observable behavior change. Bug: 305849394 Test: presubmit Flag: EXEMPT refactor Change-Id: I0eda340a55141617a7a5c2642e7bebbfe71e71f9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions