summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Oleg Kibirev <olegk@google.com> 2019-01-18 17:07:10 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-01-18 17:07:10 +0000
commit01c1c07c578f040e368306bc900a0dfea0ef280a (patch)
tree184cd5df0790a65f60623464f64e4f3162907264
parentd983c5a06a5515d3ad55b67210bdb2f7de2b303a (diff)
parent6ad1ff1e3a9c513febd42a5cdbacec016159ef3c (diff)
Merge "Better docs for KEYCODE_PROFILE_SWITCH"
-rw-r--r--core/java/android/view/KeyEvent.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/view/KeyEvent.java b/core/java/android/view/KeyEvent.java
index 9cced4e0052f..f9a46b13d0e1 100644
--- a/core/java/android/view/KeyEvent.java
+++ b/core/java/android/view/KeyEvent.java
@@ -818,7 +818,10 @@ public class KeyEvent extends InputEvent implements Parcelable {
public static final int KEYCODE_THUMBS_UP = 286;
/** Key code constant: Thumbs down key. Apps can use this to let user downvote content. */
public static final int KEYCODE_THUMBS_DOWN = 287;
- /** Key code constant: Consumed by system to switch current viewer profile. */
+ /**
+ * Key code constant: Used to switch current {@link android.accounts.Account} that is
+ * consuming content. May be consumed by system to set account globally.
+ */
public static final int KEYCODE_PROFILE_SWITCH = 288;
/**