Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Original bug:
Example project to reproduce:
How we can fix it for 4.4+? For example we can provide like empty transition instead of null and it will be handled properly
And for preKitkat there are two issues:
1) If we will provide null it crash because in TransitionManagerPort method private static void changeScene(ScenePort scene, TransitionPort transition) there are no check for null for transitionClone before transitionClone.setCanRemoveViews(true) call.
It was fixed in the framework here
2) There are no sPendingTransitions.add(sceneRoot) for scene changes case at all. We should have the same checks as in framework version.
Fix in framework:
and after that not to forget remove it from sPendingTransitions in sceneChangeRunTransition if transition is equal null via sPendingTransitions.remove(sceneRoot); - (that thing was an original bug
I've already fixed the issue in my backport of transitions framework -