summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-06-15 16:06:49 -0700
committerYing Wang <wangying@google.com>2010-06-15 16:06:49 -0700
commitcbb960ca7ccf450a743a315068cf60ccd95fecca (patch)
treeaec0ab31fd2c6fe57af4e0f16ec56a386daf8356
parent823b6f3516076b92f78c3fc27037d24bb514e653 (diff)
downloadandroid_frameworks_ex-cbb960ca7ccf450a743a315068cf60ccd95fecca.tar.gz
android_frameworks_ex-cbb960ca7ccf450a743a315068cf60ccd95fecca.tar.bz2
android_frameworks_ex-cbb960ca7ccf450a743a315068cf60ccd95fecca.zip
Merge 2 changes from master.
Change-Id: I20384bb557ec24bf55cdad0e633f4a814791e5e7
-rw-r--r--common/Android.mk2
-rw-r--r--common/java/com/android/common/speech/LoggingEvents.java5
2 files changed, 6 insertions, 1 deletions
diff --git a/common/Android.mk b/common/Android.mk
index c8dfffc..ed7c479 100644
--- a/common/Android.mk
+++ b/common/Android.mk
@@ -26,7 +26,7 @@ LOCAL_SRC_FILES := \
include $(BUILD_STATIC_JAVA_LIBRARY)
# Include this library in the build server's output directory
-$(call dist-for-goals, droid, $(LOCAL_BUILT_MODULE):android-common.jar)
+$(call dist-for-goals, droidcore, $(LOCAL_BUILT_MODULE):android-common.jar)
# Build the test package
# we can't build the test for apps only build, because android.test.runner is not unbundled yet.
diff --git a/common/java/com/android/common/speech/LoggingEvents.java b/common/java/com/android/common/speech/LoggingEvents.java
index 1f3c6ef..4b438dc 100644
--- a/common/java/com/android/common/speech/LoggingEvents.java
+++ b/common/java/com/android/common/speech/LoggingEvents.java
@@ -110,6 +110,11 @@ public class LoggingEvents {
public static final int START = 14;
public static final String EXTRA_START_LOCALE = "locale"; // value should be String
public static final String EXTRA_START_SWIPE = "swipe"; // value should be boolean
+ // EXTRA_START_SWIPE is deprecated; switch to EXTRA_START_METHOD instead
+ public static final String EXTRA_START_METHOD = "method"; // value should be int below
+ public static final int START_METHOD_BUTTON = 1;
+ public static final int START_METHOD_SWIPE = 2;
+ public static final int START_METHOD_MOTION = 3;
public static final int VOICE_INPUT_DELIVERED = 15;