Merge "HUN should not show up when the Notification shade is open" into qt-dev

am: 17f08878e2

Change-Id: Ic7a2c2efa23c28be8d2a553b757088b91a2e3507
This commit is contained in:
Priyank Singh
2019-05-31 20:33:56 -07:00
committed by android-build-merger

View File

@@ -1259,6 +1259,10 @@ public class CarStatusBar extends StatusBar implements
@Override
protected void setHeadsUpVisible() {
// if the Notifications panel is showing don't show the Heads up
if (mPanelExpanded) {
return;
}
super.setHeadsUpVisible();
if (mHeadsUpPanel.getVisibility() == View.VISIBLE) {
mStatusBarWindowController.setHeadsUpShowing(true);