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

Commit 4be21a86 authored by Adnan's avatar Adnan Committed by Gerrit Code Review
Browse files

BaseStatusBar: Dismiss heads up on backpress.

Change-Id: I5b6191657cf0b74d825eb653a6e82c33e0527aad
(cherry picked from commit dd64d8cd)
parent bce60b2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -86,6 +86,7 @@ public class StatusBarWindowView extends FrameLayout
        case KeyEvent.KEYCODE_BACK:
        case KeyEvent.KEYCODE_BACK:
            if (!down && !event.isCanceled()) {
            if (!down && !event.isCanceled()) {
                mService.animateCollapsePanels();
                mService.animateCollapsePanels();
                mService.hideHeadsUp();
            }
            }
            return true;
            return true;
        }
        }