Skip to content

Commit d6ab478

Browse files
cypheropneslihanturan
authored andcommitted
fixed commons-app#2781 : Multiple instances of Peer Review (commons-app#2784)
1 parent 49ec292 commit d6ab478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/fr/free/nrw/commons/review/ReviewActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public class ReviewActivity extends AuthenticatedActivity {
8181
*/
8282
public static void startYourself(Context context, String title) {
8383
Intent reviewActivity = new Intent(context, ReviewActivity.class);
84+
reviewActivity.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
85+
reviewActivity.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
8486
context.startActivity(reviewActivity);
8587
}
8688

0 commit comments

Comments
 (0)