OSDN Git Service

Fix debug log for SpellCheckerSessionListenerImpl#TASK_CANCEL
authorYohei Yukawa <yukawa@google.com>
Wed, 17 Jun 2015 04:19:00 +0000 (21:19 -0700)
committerYohei Yukawa <yukawa@google.com>
Wed, 17 Jun 2015 04:19:00 +0000 (21:19 -0700)
commitf4d225a4b502ef227788447eb1a5bb2902019c01
tree8ede6b608ed5ba5b9346a7e500b784a7fce4ccc0
parent3d00f7a1be6ff858a89e2220f33231ecb3570ef3
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
core/java/android/view/textservice/SpellCheckerSession.java