Merge "Fix possible NPE" into sc-v2-dev
This commit is contained in:
@@ -968,7 +968,7 @@ public class BubbleStackView extends FrameLayout
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
mExpandedViewAlphaAnimator.addUpdateListener(valueAnimator -> {
|
mExpandedViewAlphaAnimator.addUpdateListener(valueAnimator -> {
|
||||||
if (mExpandedBubble != null) {
|
if (mExpandedBubble != null && mExpandedBubble.getExpandedView() != null) {
|
||||||
mExpandedBubble.getExpandedView().setTaskViewAlpha(
|
mExpandedBubble.getExpandedView().setTaskViewAlpha(
|
||||||
(float) valueAnimator.getAnimatedValue());
|
(float) valueAnimator.getAnimatedValue());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user