Merge "Map META+L to lock the device" into udc-qpr-dev
This commit is contained in:
@@ -3046,6 +3046,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
return key_consumed;
|
||||
}
|
||||
break;
|
||||
case KeyEvent.KEYCODE_L:
|
||||
if (down && event.isMetaPressed() && repeatCount == 0) {
|
||||
lockNow(null /* options */);
|
||||
return key_consumed;
|
||||
}
|
||||
break;
|
||||
case KeyEvent.KEYCODE_N:
|
||||
if (down && event.isMetaPressed()) {
|
||||
if (event.isCtrlPressed()) {
|
||||
|
||||
Reference in New Issue
Block a user