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

Commit c8045923 authored by Katherine Kuan's avatar Katherine Kuan Committed by Android (Google) Code Review
Browse files

Merge "Fix back button on group editor"

parents 77aec8c6 d25d46b3
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -107,7 +107,10 @@ public class GroupEditorActivity extends ContactsActivity

    @Override
    public void onBackPressed() {
        mFragment.save(SaveMode.CLOSE);
        // If the change could not be saved, then revert to the default "back" button behavior.
        if (!mFragment.save(SaveMode.CLOSE)) {
            super.onBackPressed();
        }
    }

    @Override