summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Oleg Kibirev <olegk@google.com> 2019-01-03 15:05:11 -0800
committer Oleg Kibirev <olegk@google.com> 2019-01-03 15:05:11 -0800
commit6ad1ff1e3a9c513febd42a5cdbacec016159ef3c (patch)
treef23f186b9506bbb7de696145f9b69fce54eb890c
parent9d7964b973aaa5179b9c29356d04bca07a2b719b (diff)
Better docs for KEYCODE_PROFILE_SWITCH
Bug: 122276228 Test: not needed Change-Id: I57dcb1d2b8499e8c1864fcbf8df8bc7e684155e9
-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 0739516e4e96..c18d41a4cc77 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;
/**