diff options
| author | Yohei Yukawa <yukawa@google.com> | 2018-04-19 12:18:30 -0700 |
|---|---|---|
| committer | Yohei Yukawa <yukawa@google.com> | 2018-04-19 12:18:30 -0700 |
| commit | f367bc8fde3619a1db7d77ff9d41f3a7d8bc3eb4 (patch) | |
| tree | 9ebd6e01ebd301308ca71d0b8a324e300910d673 /docs/html/sdk/api_diff/22/changes | |
| parent | a47c03960b296bad26f4b4070a2b6e2f9a77a99d (diff) | |
Let SettingsLib not depend on InputMethodSettings
This is part of an effort to remove dependencies on InputMethodUtils
from Settings and other non-core Framework code.
Currently InputMethodSettingValuesWrapper depends on
InputMethodUtils.InputMethodSettings just to parse
Settings.Secure.ENABLED_INPUT_METHODS to extract enabled IMEs from the
result of InputMethodManager#getInputMethodList(), which can be
rewritten with InputMethodAndSubtypeUtil.
Also, seems that the dependency on
InputMethodUtils.InputMethodSettings confused the author and some
unnecessary synchronization blocks were introduced.
This CL completely removes the dependency on InputMethodSettings as
well as unnecessary synchronization blocks because methods of
InputMethodSettingValuesWrapper are expected to be called only from
the UI thread.
There should be no user-visible behavior change.
Bug: 77730201
Test: Manually verified that IME enabler still works as expected.
Change-Id: I0c52fb31ac2bb976dcd867f72992e260aee255b7
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions
