Prevent NPE in #7375

pull/1/head
Moxie Marlinspike 7 years ago
parent 3be45f093c
commit 2b651ee323

@ -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);

Loading…
Cancel
Save