Merge "Make sure we have an expanded bubble in onConfigChange"

This commit is contained in:
TreeHugger Robot
2019-03-26 17:45:38 +00:00
committed by Android (Google) Code Review

View File

@@ -265,7 +265,9 @@ public class BubbleStackView extends FrameLayout {
* Handle config changes.
*/
public void onConfigChanged() {
mExpandedBubble.expandedView.updateHeaderColor();
if (mExpandedBubble != null) {
mExpandedBubble.expandedView.updateHeaderColor();
}
}
@Override