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

Commit be79dab3 authored by Wenyi Wang's avatar Wenyi Wang Committed by android-build-merger
Browse files

Finish current group and duplicates activities after creating new groups

am: d4bfa339

Change-Id: I87768b897433ce283a3807e2feadc2d8a754a2b5
parents 5d567c46 d4bfa339
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ public abstract class ContactsDrawerActivity extends AppCompatContactsActivity i
            if (Log.isLoggable(TAG, Log.VERBOSE)) Log.v(TAG, "Received group URI " + groupUri);
            Toast.makeText(this, R.string.groupCreatedToast, Toast.LENGTH_SHORT).show();
            startActivity(GroupUtil.createViewGroupIntent(this, groupUri, /* title */ null));
            if (this instanceof GroupMembersActivity) {
            if (shouldFinish()) {
                // If we created a group while viewing the members of an existing group (i.e.
                // while on GroupMembersActivity), finish the current GroupMembersActivity so that
                // hitting back from the new GroupMembersActivity that was just stared will open