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

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

Fix debug log for SpellCheckerSessionListenerImpl#TASK_CANCEL

This is a follow up CL for Ifd05565ac0c057c46ec88a3fb9094c04934041d.

SpellCheckerSessionListenerImpl.taskToString(TASK_CANCEL) has
somehow returned "STATE_WAIT_CONNECTION" probably because of
a copy-and-paste mistake.

With this CL, it now returns "TASK_CANCEL", which is observable
only in debug log anyway though.

Bug: 21319642
Change-Id: Ib0bf11494bd3f210e6e8192fc25a33c65f7d313d
parent 3d00f7a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ public class SpellCheckerSession {
        private static String taskToString(int task) {
            switch (task) {
                case TASK_CANCEL:
                    return "STATE_WAIT_CONNECTION";
                    return "TASK_CANCEL";
                case TASK_GET_SUGGESTIONS_MULTIPLE:
                    return "TASK_GET_SUGGESTIONS_MULTIPLE";
                case TASK_CLOSE: