Merge "Fix possible NPE" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-06-24 03:48:07 +00:00
committed by Android (Google) Code Review

View File

@@ -1904,7 +1904,7 @@ public class BubbleStackView extends FrameLayout
AnimatableScaleMatrix.getAnimatableValueForScaleFactor(1f),
mScaleInSpringConfig)
.addUpdateListener((target, values) -> {
if (mExpandedBubble.getIconView() == null) {
if (mExpandedBubble == null || mExpandedBubble.getIconView() == null) {
return;
}
mExpandedViewContainerMatrix.postTranslate(