Merge "Fix possible NPE" into rvc-dev am: c3260a4c39 am: f4962c4443

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11978927

Change-Id: Ia541671935f27c78d94bc445c331971aa8a6e807
This commit is contained in:
TreeHugger Robot
2020-06-24 03:51:24 +00:00
committed by Automerger Merge Worker

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(