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

Commit 851179db authored by George Mount's avatar George Mount
Browse files

Perform onDestroy when FragmentController is torn down.

Bug 32457575

Test: I9e33801c34bcb31e3d6ca0df3962cfe1a3203044
Change-Id: Id220dbfb3e42d2c91b99926c1e9b0c556c9b453a
parent d50ac516
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1233,9 +1233,9 @@ final class FragmentManagerImpl extends FragmentManager implements LayoutInflate
        int nextState = mCurState;
        if (f.mRemoving) {
            if (f.isInBackStack()) {
                nextState = Fragment.CREATED;
                nextState = Math.min(nextState, Fragment.CREATED);
            } else {
                nextState = Fragment.INITIALIZING;
                nextState = Math.min(nextState, Fragment.INITIALIZING);
            }
        }