Bug 1851259 - Delete browsing data only if fragment attached
commit64a34aae2a30ef5fff8e5d6520a96b9bf63a6997
authorDreVla <vlad.dreghici@gmail.com>
Fri, 6 Oct 2023 13:09:52 +0000 (6 16:09 +0300)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Oct 2023 08:54:14 +0000 (10 08:54 +0000)
tree40cfbabdd68cf05404d44422df3a839939dc7e8f
parent7582784bb0ba3c60f90860d7a73d91173a061ccb
Bug 1851259 - Delete browsing data only if fragment attached

We still encounter a crash during the process of deleting
browsing data. This is a speculative fix that does not start
the deletion process unless the fragment is attached.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/deletebrowsingdata/DeleteBrowsingDataFragment.kt