DO NOT MERGE Adding additional null checks for BubbleController. am: b7fc7fd466
Change-Id: I1d8e2003f7984117968c34cbcbe467a141fdfd2a
This commit is contained in:
@@ -2638,7 +2638,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
if (mRemoteInputManager.getController() != null) {
|
||||
mRemoteInputManager.getController().closeRemoteInputs();
|
||||
}
|
||||
if (mBubbleController.isStackExpanded()) {
|
||||
if (mBubbleController != null && mBubbleController.isStackExpanded()) {
|
||||
mBubbleController.collapseStack();
|
||||
}
|
||||
if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
|
||||
@@ -2654,7 +2654,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
if (mStatusBarWindowController != null) {
|
||||
mStatusBarWindowController.setNotTouchable(false);
|
||||
}
|
||||
if (mBubbleController.isStackExpanded()) {
|
||||
if (mBubbleController != null && mBubbleController.isStackExpanded()) {
|
||||
mBubbleController.collapseStack();
|
||||
}
|
||||
finishBarAnimations();
|
||||
@@ -3386,7 +3386,9 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
if (mNotificationPanel.canPanelBeCollapsed()) {
|
||||
animateCollapsePanels();
|
||||
} else {
|
||||
mBubbleController.performBackPressIfNeeded();
|
||||
if (mBubbleController != null) {
|
||||
mBubbleController.performBackPressIfNeeded();
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user