aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-09-03 23:14:34 +0900
committersatok <satok@google.com>2010-09-03 23:14:34 +0900
commit1e5e14f18b900a3bbc42a9cf4ed2f20a6d1217c5 (patch)
treeaceed6add57c1c5f8f2d53d28d196637cee52974 /java
parent4d67480fe297f3b9265fcbeb1d1651b910bd96c2 (diff)
downloadlatinime-1e5e14f18b900a3bbc42a9cf4ed2f20a6d1217c5.tar.gz
latinime-1e5e14f18b900a3bbc42a9cf4ed2f20a6d1217c5.tar.xz
latinime-1e5e14f18b900a3bbc42a9cf4ed2f20a6d1217c5.zip
Replace variables which are not exist in froyo-framework to strings
Change-Id: Ic11dec2ea1f5c5474085c50dddd1b73666480d1a
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/voice/VoiceInputLogger.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/voice/VoiceInputLogger.java b/java/src/com/android/inputmethod/voice/VoiceInputLogger.java
index 4d50f5ee8..fbd90d318 100644
--- a/java/src/com/android/inputmethod/voice/VoiceInputLogger.java
+++ b/java/src/com/android/inputmethod/voice/VoiceInputLogger.java
@@ -182,12 +182,12 @@ public class VoiceInputLogger {
int index, String before, String after) {
Intent i = newLoggingBroadcast(LoggingEvents.VoiceIme.TEXT_MODIFIED);
i.putExtra(LoggingEvents.VoiceIme.EXTRA_TEXT_MODIFIED_LENGTH, suggestionLength);
- i.putExtra(LoggingEvents.VoiceIme.EXTRA_TEXT_REPLACED_LENGTH, replacedPhraseLength);
+ i.putExtra("rlength", replacedPhraseLength);
i.putExtra(LoggingEvents.VoiceIme.EXTRA_TEXT_MODIFIED_TYPE,
LoggingEvents.VoiceIme.TEXT_MODIFIED_TYPE_CHOOSE_SUGGESTION);
i.putExtra(LoggingEvents.VoiceIme.EXTRA_N_BEST_CHOOSE_INDEX, index);
- i.putExtra(LoggingEvents.VoiceIme.EXTRA_BEFORE_N_BEST_CHOOSE, before);
- i.putExtra(LoggingEvents.VoiceIme.EXTRA_AFTER_N_BEST_CHOOSE, after);
+ i.putExtra("before", before);
+ i.putExtra("after", after);
mContext.sendBroadcast(i);
}