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

Skip to content
Commit c8ccfc83 authored by Roman Birg's avatar Roman Birg
Browse files

MasterClear: fix FRP wipe crash



Requesting setRequestedOrientation() right after showing a custom dialog
in a DialogFragment does not play nice. It forces the activity to be
recreated instantly, so when the task finishes, there original activity
the AsyncTask is tied to is no longer valid.

However, if we let fragment manager keep track of all the dialogs, it
doesn't break the expected behavior.

REF: CYNGNOS-427
Change-Id: I0609816182a6b5319d2a88ff0075d53e3c2fed16
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 79e571fb
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