Improved watchdog

This commit is contained in:
M66B
2019-08-03 16:05:30 +02:00
parent 952d93bf17
commit f59adf17f5
4 changed files with 11 additions and 18 deletions

View File

@@ -81,9 +81,11 @@ public class ActivityMain extends ActivityBase implements FragmentManager.OnBack
@Override
protected void onExecuted(Bundle args, Boolean hasAccounts) {
if (hasAccounts)
if (hasAccounts) {
startActivity(new Intent(ActivityMain.this, ActivityView.class));
else
ServiceSynchronize.watchdog(ActivityMain.this);
ServiceSend.watchdog(ActivityMain.this);
} else
startActivity(new Intent(ActivityMain.this, ActivitySetup.class));
finish();
}