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

Commit 417c853b authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android (Google) Code Review
Browse files

Merge "Remove unused InputMethodSettings#getEnabledInputMethodNames()" into main

parents 8f5e7235 cee99a8f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -356,15 +356,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.