Revert "[android] Prevent MwmActivity to be launched twice"

This reverts commit 62d2ce8df1.

Fixes #4780

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
Roman Tsisyk 2023-03-24 11:16:22 +02:00
parent 29be001fd8
commit 0050b1b560

View file

@ -347,7 +347,7 @@ public class DownloadResourcesLegacyActivity extends BaseMwmFragmentActivity
final Intent intent = new Intent(this, MwmActivity.class);
// Disable animation because MwmActivity should appear exactly over this one
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION | Intent.FLAG_ACTIVITY_CLEAR_TOP);
// Add saved task to forward to map activity.
if (mMapTaskToForward != null)