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

Commit 737083eb authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove unused InputMethodSettings#{get,put}Boolean()

This is a follow up to my previous CLs [1][2], which inlined the
following methods

 - InputMethodSettings#isShowImeWithHardKeyboardEnabled()
 - InputMethodSettings#setShowImeWithHardKeyboardEnabled()

As a result, we can also remove the following methods.

 - InputMethodSettings#getBoolean()
 - InputMethodSettings#setBoolean()

as they are no longer used.

There must be no observable behavior change in this CL.

 [1]: I52cf78b95b8514844a0aa88406683ea0f6e88ad9
      47f311b2
 [2]: I0c3e0e16f361dff84c3b79040a9a83058512088f
      e5468607

Bug: 309868254
Bug: 309837937
Test: presubmit
Change-Id: I2c62e25bd77381a73c253e186bb5976ac68d6c73
parent 4d29ed23
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -255,14 +255,6 @@ final class InputMethodUtils {
            return SecureSettingsWrapper.getInt(key, defaultValue, mCurrentUserId);
        }

        private void putBoolean(String key, boolean value) {
            SecureSettingsWrapper.putBoolean(key, value, mCurrentUserId);
        }

        private boolean getBoolean(String key, boolean defaultValue) {
            return SecureSettingsWrapper.getBoolean(key, defaultValue, mCurrentUserId);
        }

        ArrayList<InputMethodInfo> getEnabledInputMethodListLocked() {
            return getEnabledInputMethodListWithFilterLocked(null /* matchingCondition */);
        }