summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorOliver Woodman <olly@google.com>2021-11-22 17:30:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-11-22 17:30:43 +0000
commit757be10fa0bfd49ed98331374d9f83742427db4e (patch)
treef0c50e68049a809500432ca1f94586b8b06931aa /core/java/android
parent2bde8d52accac4c02a7d9de3b418bb8b6fabbf29 (diff)
parent2b048e6251d1cc4149d3c033ba435e0ecd542070 (diff)
Merge "Tweak Javadoc for mute keycode constants"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/KeyEvent.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/java/android/view/KeyEvent.java b/core/java/android/view/KeyEvent.java
index 1460cb251c72..c3a638c4c36a 100644
--- a/core/java/android/view/KeyEvent.java
+++ b/core/java/android/view/KeyEvent.java
@@ -295,7 +295,8 @@ public class KeyEvent extends InputEvent implements Parcelable {
/** Key code constant: Fast Forward media key. */
public static final int KEYCODE_MEDIA_FAST_FORWARD = 90;
/** Key code constant: Mute key.
- * Mutes the microphone, unlike {@link #KEYCODE_VOLUME_MUTE}. */
+ * Mute key for the microphone (unlike {@link #KEYCODE_VOLUME_MUTE}, which is the speaker mute
+ * key). */
public static final int KEYCODE_MUTE = 91;
/** Key code constant: Page Up key. */
public static final int KEYCODE_PAGE_UP = 92;
@@ -482,9 +483,10 @@ public class KeyEvent extends InputEvent implements Parcelable {
/** Key code constant: Numeric keypad ')' key. */
public static final int KEYCODE_NUMPAD_RIGHT_PAREN = 163;
/** Key code constant: Volume Mute key.
- * Mutes the speaker, unlike {@link #KEYCODE_MUTE}.
- * This key should normally be implemented as a toggle such that the first press
- * mutes the speaker and the second press restores the original volume. */
+ * Mute key for speaker (unlike {@link #KEYCODE_MUTE}, which is the mute key for the
+ * microphone). This key should normally be implemented as a toggle such that the first press
+ * mutes the speaker and the second press restores the original volume.
+ */
public static final int KEYCODE_VOLUME_MUTE = 164;
/** Key code constant: Info key.
* Common on TV remotes to show additional information related to what is