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

Commit 33acfbed authored by Craig Mautner's avatar Craig Mautner
Browse files

Restore saved fragment state

DialogFragment was saving the state of the dialog in
onSavedInstanceState() but this was being lost because it was
only being saved in the FragmentState but not being restored
into the Fragment when the Fragment was being reinstantiated.
This left us in a state after a rotation where the
DialogFragment was in the state "showing" but had never been
relaunched. Restoring the saved Bundle to the Fragment causes
the DialogFragment to be relaunched after the rotation.

Fixes bug 15559669.

Change-Id: I953a6c4bfdaed1ebcad1d99f47ceac5e017797db
parent eb8d1be6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment