Make STEM_PRIMARY Key a wake key.
TEST: Tested on Salmon locally. Video: https://photos.app.goo.gl/YhjdQpbpiXi9tnBL8 Bug: b/175741447 Change-Id: Ibe1a95f910497fb58ec093695cd2a96e43d0b485 (cherry picked from commit ffe4c6a1d5e06105b7614a7d437df65d5e3c798e) (cherry picked from commit cc1fc99392b929c8c7cb3fc5ab8ae34a4a07025b)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user