瀏覽代碼

Reenable home button wake.

Change-Id: I605b1b80fad29da7447752646fa0fb2c9618e90f
ten
Jens Lody 4 年之前
父節點
當前提交
cee7f60688
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      core/java/android/view/KeyEvent.java

+ 1
- 0
core/java/android/view/KeyEvent.java 查看文件

@@ -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…
取消
儲存