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

Commit 239ba2a3 authored by George Mount's avatar George Mount
Browse files

Stop a blink of the final position of shared element.

Sometimes a frame from the final layout position of the shared
element was showing on the first frame of the activity showing.
This pushes the first frame to force it until after the transition
has started.

Test: manual testing

Change-Id: I831ed4b419eaadf1aad9d5efbeb99f04eebd0640
parent 1dddc057
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ class EnterTransitionCoordinator extends ActivityTransitionCoordinator {
                                    decorView.getViewTreeObserver().removeOnPreDrawListener(this);
                                }
                            }
                            return mIsReadyForTransition;
                            return false;
                        }
                    });
        }