Don't create a second GroupActivity after configuring group.

This commit is contained in:
akwizgran
2014-05-02 10:12:06 +01:00
parent 2165b26553
commit 4917cf3bf6

View File

@@ -1,5 +1,6 @@
package org.briarproject.android.groups;
import static android.content.Intent.FLAG_ACTIVITY_CLEAR_TOP;
import static android.view.Gravity.CENTER_HORIZONTAL;
import static android.view.View.GONE;
import static android.view.View.VISIBLE;
@@ -222,6 +223,7 @@ SelectContactsDialog.Listener {
public void run() {
Intent i = new Intent(ConfigureGroupActivity.this,
GroupActivity.class);
i.setFlags(FLAG_ACTIVITY_CLEAR_TOP);
i.putExtra("briar.GROUP_ID", groupId.getBytes());
i.putExtra("briar.GROUP_NAME", groupName);
startActivity(i);