Skip to content

Commit a446b5b

Browse files
committed
Fixes commons-app#1250 Removed creation of multiple instances of Notification activity
1 parent 4c3513b commit a446b5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/fr/free/nrw/commons/notification/NotificationActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ private void setAdapter(List<Notification> notificationList) {
9595

9696
public static void startYourself(Context context) {
9797
Intent intent = new Intent(context, NotificationActivity.class);
98+
intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
9899
context.startActivity(intent);
99100
}
100101
}

0 commit comments

Comments
 (0)