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

Commit 0ef355d7 authored by David Ingram's avatar David Ingram
Browse files

Added definitions for the ways in which VoiceIME can be started.

This is for logging purposes. The three values BUTTON, SWIPE
and MOTION replace the boolean SWIPE parameter.

Change-Id: I3e8a275e2608781305e97851a797b18ccd3c68cd
parent 5748ab3d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;