Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7aa1aa4c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the NPE in the AnimationController"

parents 504d2d3c b808eb04
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -123,8 +123,10 @@ public class VideoPreference extends Preference {
            layout.setLayoutParams(new LinearLayout.LayoutParams(
                    LinearLayout.LayoutParams.MATCH_PARENT, mHeight));
        }
        if (mAnimationController != null) {
            mAnimationController.attachView(mVideo, mPreviewImage, mPlayButton);
        }
    }

    @Override
    public void onDetached() {