Prevent NPE in #7375

This commit is contained in:
Moxie Marlinspike 2018-02-05 12:08:40 -08:00
parent 3be45f093c
commit 2b651ee323

View File

@ -297,7 +297,8 @@ public class WebRtcAnswerDeclineButton extends LinearLayout implements View.OnTo
private void resetElements() {
animating = false;
complete = false;
animatorSet.cancel();
if (animatorSet != null) animatorSet.cancel();
swipeUpText.setTranslationY(0);
fab.setTranslationY(0);