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

Commit 615b4119 authored by Annie Chin's avatar Annie Chin Committed by Android (Google) Code Review
Browse files

Merge "Change popBackStackImmediate to popBackStack." into ub-calculator-euler

parents 8bf0dca1 2a0f9c0f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -731,8 +731,7 @@ public class Calculator extends Activity
    private void removeHistoryFragment() {
        final FragmentManager manager = getFragmentManager();
        if (manager != null && !manager.isDestroyed()) {
            manager.popBackStackImmediate(HistoryFragment.TAG,
                    FragmentManager.POP_BACK_STACK_INCLUSIVE);
            manager.popBackStack(HistoryFragment.TAG, FragmentManager.POP_BACK_STACK_INCLUSIVE);
        }

        // When HistoryFragment is hidden, the main Calculator is important for accessibility again.