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

Commit 0e841f2e authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Fix a lint error in getSortedInputMethodAndSubtypeList()

With this change the returned object from

  InputMethodSubtypeSwitchingController
      #getSortedInputMethodAndSubtypeList()

is guaranteed to be a mutable list.

There must be no observable behavior change.

Bug: 309837937
Test: presubmit
Change-Id: I751efade5ba68eeebfc1f215411d7cd34e667ad4
parent d62ba55c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ final class InputMethodSubtypeSwitchingController {

        final ArrayList<InputMethodInfo> imis = settings.getEnabledInputMethodListLocked();
        if (imis.isEmpty()) {
            return Collections.emptyList();
            return new ArrayList<>();
        }
        if (isScreenLocked && includeAuxiliarySubtypes) {
            if (DEBUG) {