Browse Source

Reenable home button wake.

Change-Id: I605b1b80fad29da7447752646fa0fb2c9618e90f
ten
Jens Lody 2 years ago
parent
commit
cee7f60688
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      core/java/android/view/KeyEvent.java

+ 1
- 0
core/java/android/view/KeyEvent.java View File

@@ -1933,6 +1933,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
/** @hide */
public static final boolean isWakeKey(int keyCode) {
switch (keyCode) {
case KeyEvent.KEYCODE_HOME:
case KeyEvent.KEYCODE_BACK:
case KeyEvent.KEYCODE_MENU:
case KeyEvent.KEYCODE_WAKEUP:

Loading…
Cancel
Save