aboutsummaryrefslogtreecommitdiff
path: root/en/devices/accessories
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2017-07-31 17:00:41 -0700
committerClay Murphy <claym@google.com>2017-07-31 17:11:06 -0700
commitae788cd8108b7069f49e8b67e8fae8a6ac831a6c (patch)
tree1b74df97a0b3b4df87bc2151899b8278bf36210a /en/devices/accessories
parentc78bdec26a7e8ae86feead11571d5fdc3203b98a (diff)
downloadsource.android.com-ae788cd8108b7069f49e8b67e8fae8a6ac831a6c.tar.gz
Docs: Changes to source.android.com
- 163769820 Incorporate FAQ entries inline and at bottom by claym <claym@google.com> - 163721400 Add page for customizing reference TV App by daroberts <daroberts@google.com> - 163505078 Add command prefix to make to avoid current problem with ... by Android Partner Docs <noreply@android.com> - 163485330 Fixing silly miscapitalization by claym <claym@google.com> - 163479493 Add Neonkey SensorHub to home page under News by claym <claym@google.com> - 163479125 Qualify platform code style as Java/AOSP by claym <claym@google.com> - 163405523 Update the audio accessory spec guideline by daroberts <daroberts@google.com> - 163285639 Clarify the meaning of "flat" value, and do not refer to ... by Android Partner Docs <noreply@android.com> - 163233292 Adding neonkey links (and updating bad link) by hvm <hvm@google.com> - 163216955 Adding sensorhub details and image by hvm <hvm@google.com> - 163136972 Add attribution for CVE-2017-8263 by daroberts <daroberts@google.com> - 163001768 Publish localized July security bulletin by daroberts <daroberts@google.com> PiperOrigin-RevId: 163769820 Change-Id: I4cd0d8dc77641f5150ab0bd8c5f3bd744e4a7cb0
Diffstat (limited to 'en/devices/accessories')
-rw-r--r--en/devices/accessories/headset/jack-headset-spec.html2
-rw-r--r--en/devices/accessories/headset/usb-headset-spec.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/en/devices/accessories/headset/jack-headset-spec.html b/en/devices/accessories/headset/jack-headset-spec.html
index 0623fb38..3632e832 100644
--- a/en/devices/accessories/headset/jack-headset-spec.html
+++ b/en/devices/accessories/headset/jack-headset-spec.html
@@ -63,7 +63,7 @@ href="/compatibility/android-cdd.html#7_8_audio">Android CDD</a>.</p>
<td>Function A control event</td>
<td>Required</td>
<td>Input event: <code>KEY_MEDIA</code>
-<p>Android key: <code>KEYCODE_HEADSETHOOK<code></p></td>
+<p>Android key: <code>KEYCODE_MEDIA_PLAY_PAUSE<code></p></td>
</tr>
<tr>
<td>Function D control event</td>
diff --git a/en/devices/accessories/headset/usb-headset-spec.html b/en/devices/accessories/headset/usb-headset-spec.html
index 9a7cbad1..c83f7eac 100644
--- a/en/devices/accessories/headset/usb-headset-spec.html
+++ b/en/devices/accessories/headset/usb-headset-spec.html
@@ -118,7 +118,9 @@ mappings.
<td><strong>Input</strong>: Long press<br>
<strong>Output</strong>: Launch voice command<br>
<strong>Sends</strong>:
- <code>android.intent.action.VOICE_SEARCH_HANDS_FREE</code></td>
+ <code>android.speech.action.VOICE_SEARCH_HANDS_FREE</code> if the device
+ is locked or its screen is off. Sends
+ <code>android.speech.RecognizerIntent.ACTION_WEB_SEARCH</code> otherwise</td>
</tr>
<tr>
<td rowspan="2">Incoming call</td>