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

Commit bf94f650 authored by Mike LeBeau's avatar Mike LeBeau
Browse files

Add new LoggingEvents for more detailed text modification actions for voice input.

Change-Id: I70df3612067f1c8c512a7bbe6c02381724f76bbf
parent 72cbb9fe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -117,6 +117,12 @@ public class LoggingEvents {
        public static final String EXTRA_N_BEST_CHOOSE_INDEX = "index";  // value should be int

        public static final int TEXT_MODIFIED = 17;
        public static final String EXTRA_TEXT_MODIFIED_LENGTH = "length";  // value should be int
        public static final String EXTRA_TEXT_MODIFIED_TYPE = "type";  // value should be int below
        public static final int TEXT_MODIFIED_TYPE_CHOOSE_SUGGESTION = 1;
        public static final int TEXT_MODIFIED_TYPE_TYPING_DELETION = 2;
        public static final int TEXT_MODIFIED_TYPE_TYPING_INSERTION = 3;
        public static final int TEXT_MODIFIED_TYPE_TYPING_INSERTION_PUNCTUATION = 4;

        public static final int INPUT_ENDED = 18;