jabra: do not send mute HID event

The mute key on the Jabra device is microphone mute, we should not send
a KEY_CROS_MUTE keypress event which triggers the UI to mute the
speaker. As we have no mic mute key defined, just skip sending an event
for now.

TEST=On Stumpy, press Jabra speakerphone mute button and still hear the
sound playing.

Change-Id: Iffcd8a75e8d76508b4907bdaf94f78111430d7e2
Reviewed-on: https://chromium-review.googlesource.com/172588
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Jenny Zhang <jennyz@chromium.org>
diff --git a/jabra.c b/jabra.c
index 2320a3a..f65115c 100644
--- a/jabra.c
+++ b/jabra.c
@@ -255,8 +255,11 @@
 	} else if (report == JABRA_TELEPHONY_REPORT) { /* other keys */
-		if (code & MUTE_FLAG)
-			inject_hid_event(dev, KEY_CROS_MUTE);
+		/*
+		 * if 'code' has the MUTE_FLAG bit set, the user has pressed
+		 * the mic mute button, but the UI is not handling mic mute key
+		 * so far (only speaker mute), so we don't inject any HID event.
+		 */
 	} else {
 		logd(LOG_NOTICE, "HID message %02x %02x\n", report, code);