Make sure we have an expanded bubble in onConfigChange

Test: manual
Fixes: 129269766
Change-Id: Ic908b8f9b1c2a2bb87a8b0789c5616193152deaf
This commit is contained in:
Mady Mellor
2019-03-25 14:48:34 -07:00
parent c6479fd8f4
commit e37f60b396

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