You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 129b25a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(android): keep the root view when an activity replaces another
Android can start a new activity before the old one stops. When both
activities use one root view, the old activity unloaded and destroyed
the view that the new activity showed. The view also kept the old
FragmentManager, so the screen stayed blank.
onStop, onDestroy, and onSaveInstanceState now act only on a root view
that the activity shows. A new activity unloads the view from the
previous activity before it adopts the view, which clears the cached
FragmentManager. An activity takes the view back when it starts again.
Fixes#11615
0 commit comments