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

Commit c693823f authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #5054723: java.lang.NullPointerException at...

...android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1284)

Make sure to commit all pending actions before completing the destroy.

Change-Id: I85643e5f7b1221048523bd186b48fb88fc70ca23
parent 8cbe6e9c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1695,6 +1695,7 @@ final class FragmentManagerImpl extends FragmentManager {
    
    public void dispatchDestroy() {
        mDestroyed = true;
        execPendingActions();
        moveToState(Fragment.INITIALIZING, false);
        mActivity = null;
    }