File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1855,18 +1855,15 @@ private void performTraversals() {
18551855 performDraw ();
18561856 }
18571857 } else {
1858- // End any pending transitions on this non-visible window
1859- if (mPendingTransitions != null && mPendingTransitions .size () > 0 ) {
1858+ if (viewVisibility == View .VISIBLE ) {
1859+ // Try again
1860+ scheduleTraversals ();
1861+ } else if (mPendingTransitions != null && mPendingTransitions .size () > 0 ) {
18601862 for (int i = 0 ; i < mPendingTransitions .size (); ++i ) {
18611863 mPendingTransitions .get (i ).endChangingAnimations ();
18621864 }
18631865 mPendingTransitions .clear ();
18641866 }
1865-
1866- if (viewVisibility == View .VISIBLE ) {
1867- // Try again
1868- scheduleTraversals ();
1869- }
18701867 }
18711868 }
18721869
You can’t perform that action at this time.
0 commit comments