OSDN Git Service

Making KEYCODE_PAIRING a wakeup key.
authorMichael Wright <michaelwr@google.com>
Wed, 4 Jun 2014 19:38:18 +0000 (12:38 -0700)
committerMichael Wright <michaelwr@google.com>
Wed, 4 Jun 2014 19:38:18 +0000 (12:38 -0700)
Bug: 15430207
Change-Id: I4bb862e22d32af1a89741d39a694b790aa52dfcd

core/java/android/view/KeyEvent.java

index 8a996d2..8b2ec7a 100644 (file)
@@ -1716,6 +1716,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
             case KeyEvent.KEYCODE_MENU:
             case KeyEvent.KEYCODE_SLEEP:
             case KeyEvent.KEYCODE_WAKEUP:
+            case KeyEvent.KEYCODE_PAIRING:
                 return true;
         }
         return false;