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

Commit d25d46b3 authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Fix back button on group editor

Bug: 5121656
Change-Id: I78cdbf2cff82cb510539c25716767674f5bade0a
parent 8f59c2b1
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