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

Commit cee99a8f authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove unused InputMethodSettings#getEnabledInputMethodNames()

This is a follow up CL to my previous CL [1], with which we stopped
using

  InputMethodSettings#getEnabledInputMethodNames()

but we forgot to remove it.

With this CL, this unused method is actually removed.

 [1]: Iac98fdbb2758f4d9c68930f49d219eb83e54a3d0
      6c984cca

Bug: 261723412
Bug: 309837937
Test: presubmit
Change-Id: Ibf8429efb31ecc4ec18448fad1e809f28a715fa2
parent c9856234
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -353,15 +353,6 @@ final class InputMethodUtils {
                    new TextUtils.SimpleStringSplitter(INPUT_METHOD_SUBTYPE_SEPARATOR));
        }

        List<String> getEnabledInputMethodNames() {
            List<String> result = new ArrayList<>();
            for (Pair<String, ArrayList<String>> pair :
                    getEnabledInputMethodsAndSubtypeListLocked()) {
                result.add(pair.first);
            }
            return result;
        }

        void appendAndPutEnabledInputMethodLocked(String id) {
            if (TextUtils.isEmpty(mEnabledInputMethodsStrCache)) {
                // Add in the newly enabled input method.