We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16df68a commit 40568ecCopy full SHA for 40568ec
app/src/main/java/fr/free/nrw/commons/achievements/AchievementsActivity.java
@@ -363,8 +363,7 @@ private void inflateAchievements(Achievements achievements) {
363
*/
364
public static void startYourself(Context context) {
365
Intent intent = new Intent(context, AchievementsActivity.class);
366
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
367
- intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
+ intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT | Intent.FLAG_ACTIVITY_SINGLE_TOP);
368
context.startActivity(intent);
369
}
370
0 commit comments