Start setup in new task always

This commit is contained in:
M66B
2021-08-13 16:39:44 +02:00
parent c846d390cc
commit e47281b533
13 changed files with 65 additions and 62 deletions

View File

@@ -176,7 +176,8 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
}
}, SERVICE_START_DELAY);
} else
startActivity(new Intent(ActivityMain.this, ActivitySetup.class));
startActivity(new Intent(ActivityMain.this, ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
long end = new Date().getTime();
Log.i("Main booted " + (end - start) + " ms");