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

Commit d8194d28 authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Always call through to super.onBackPressed in DialtactsActivity"

parents d9091e63 edf798aa
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -887,12 +887,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
        } else if (getInSearchUi()) {
            mSearchView.setText(null);
            mDialpadFragment.clearDialpad();
        } else if (isTaskRoot()) {
            // Instead of stopping, simply push this to the back of the stack.
            // This is only done when running at the top of the stack;
            // otherwise, we have been launched by someone else so need to
            // allow the user to go back to the caller.
            moveTaskToBack(false);
        } else {
            super.onBackPressed();
        }