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

Commit 4188d0de authored by George Mount's avatar George Mount
Browse files

Fixed NPE in EnterTransitionCoordinator

Bug 17478213

Change-Id: I6614f6e9e91103fbf50c49d2560088969f90685a
parent 280813a6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -329,7 +329,10 @@ class EnterTransitionCoordinator extends ActivityTransitionCoordinator {
                @Override
                public void run() {
                    if (mAnimations++ < MIN_ANIMATION_FRAMES) {
                        getDecor().postOnAnimation(this);
                        View decorView = getDecor();
                        if (decorView != null) {
                            decorView.postOnAnimation(this);
                        }
                    } else if (mResultReceiver != null) {
                        mResultReceiver.send(MSG_HIDE_SHARED_ELEMENTS, null);
                        mResultReceiver = null; // all done sending messages.