Add TODO for splash activity

Co-authored-by: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
Max Rumpf 2020-08-27 13:12:50 +02:00 committed by GitHub
commit 6ff4113ccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ public abstract class AbsBaseActivity extends AbsThemeActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// TODO use a fragment for the splash activity
if (App.getApiClient() == null) {
Intent intent = new Intent(this, SplashActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);