Merge "HUN should not show up when the Notification shade is open" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
17f08878e2
@@ -1259,6 +1259,10 @@ public class CarStatusBar extends StatusBar implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void setHeadsUpVisible() {
|
protected void setHeadsUpVisible() {
|
||||||
|
// if the Notifications panel is showing don't show the Heads up
|
||||||
|
if (mPanelExpanded) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
super.setHeadsUpVisible();
|
super.setHeadsUpVisible();
|
||||||
if (mHeadsUpPanel.getVisibility() == View.VISIBLE) {
|
if (mHeadsUpPanel.getVisibility() == View.VISIBLE) {
|
||||||
mStatusBarWindowController.setHeadsUpShowing(true);
|
mStatusBarWindowController.setHeadsUpShowing(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user