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

Commit d21b3c88 authored by Jun Mukai's avatar Jun Mukai
Browse files

Expand the notification panel by Meta-N.

Bug: 16351826
Change-Id: Ib33f2a3fee385ecb44e1e331e34dd9b2d6dee4aa
parent 6e935ac2
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) {