aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorSatoshi Kataoka <satok@google.com>2013-11-20 12:31:01 +0900
committerSatoshi Kataoka <satok@google.com>2013-11-20 12:31:01 +0900
commit994530d9bdc7684cc4501b0ced567ae1b393c2e8 (patch)
tree8b7fe162eb26f5c02808ea847571626b1c7db577 /java/src
parent077b3def52ef253dd746ec56738f5e79086f6765 (diff)
downloadlatinime-994530d9bdc7684cc4501b0ced567ae1b393c2e8.tar.gz
latinime-994530d9bdc7684cc4501b0ced567ae1b393c2e8.tar.xz
latinime-994530d9bdc7684cc4501b0ced567ae1b393c2e8.zip
Show source dictionary name of suggestions in the debug mode
Bug: 11772864 Change-Id: I393352494b1ef81d24622a22fe7556d09945d6ff
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java
index 0a4c7a55d..53f04b118 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -432,7 +432,8 @@ public final class Suggest {
final String scoreInfoString;
if (normalizedScore > 0) {
scoreInfoString = String.format(
- Locale.ROOT, "%d (%4.2f)", cur.mScore, normalizedScore);
+ Locale.ROOT, "%d (%4.2f), %s", cur.mScore, normalizedScore,
+ cur.mSourceDict.mDictType);
} else {
scoreInfoString = Integer.toString(cur.mScore);
}