am 0598d730: am 6959865f: Merge "Remove SLEEP and POWER from wake key list." into mnc-dev

* commit '0598d7309555111dac00745a7df14ccb9100e537':
  Remove SLEEP and POWER from wake key list.
This commit is contained in:
Michael Wright
2015-05-12 12:36:06 +00:00
committed by Android Git Automerger

View File

@@ -1817,9 +1817,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
public static final boolean isWakeKey(int keyCode) {
switch (keyCode) {
case KeyEvent.KEYCODE_BACK:
case KeyEvent.KEYCODE_POWER:
case KeyEvent.KEYCODE_MENU:
case KeyEvent.KEYCODE_SLEEP:
case KeyEvent.KEYCODE_WAKEUP:
case KeyEvent.KEYCODE_PAIRING:
return true;