Merge "Make STEM_PRIMARY Key a wake key." into main

This commit is contained in:
Justin Chung
2023-07-10 02:39:51 +00:00
committed by Android (Google) Code Review

View File

@@ -2066,6 +2066,7 @@ public class KeyEvent extends InputEvent implements Parcelable {
case KeyEvent.KEYCODE_STEM_2:
case KeyEvent.KEYCODE_STEM_3:
case KeyEvent.KEYCODE_WAKEUP:
case KeyEvent.KEYCODE_STEM_PRIMARY:
return true;
}
return false;