Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbc56708 authored by Jun Mukai's avatar Jun Mukai Committed by Android (Google) Code Review
Browse files

Merge "Expand the notification panel by Meta-N."

parents de03da48 d21b3c88
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2668,6 +2668,17 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                }
            }
            return -1;
        } else if (keyCode == KeyEvent.KEYCODE_N && event.isMetaPressed()) {
            if (down) {
                IStatusBarService service = getStatusBarService();
                if (service != null) {
                    try {
                        service.expandNotificationsPanel();
                    } catch (RemoteException e) {
                        // do nothing.
                    }
                }
            }
        } else if (keyCode == KeyEvent.KEYCODE_ASSIST) {
            if (down) {
                if (repeatCount == 0) {