]> git.ktnx.net Git - mobile-ledger.git/commitdiff
make splash activity descent from CrashReportingActivity
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 14:28:32 +0000 (17:28 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 26 Sep 2020 14:28:32 +0000 (17:28 +0300)
some DB work is done in the background, initiated from SplashActivity.
it is possible that it crashes for some reason and that better be
reported

app/src/main/java/net/ktnx/mobileledger/ui/activity/SplashActivity.java

index 921abb7512f7363ed0bca78ea6a140e28d45cd46..4988d1c5a6d6dd80f8cde0dd9b38a94809a7f201 100644 (file)
@@ -22,7 +22,6 @@ import android.os.AsyncTask;
 import android.os.Bundle;
 import android.os.Handler;
 
-import androidx.activity.ComponentActivity;
 import androidx.annotation.Nullable;
 
 import net.ktnx.mobileledger.R;
@@ -32,7 +31,7 @@ import net.ktnx.mobileledger.utils.Logger;
 import net.ktnx.mobileledger.utils.MLDB;
 import net.ktnx.mobileledger.utils.MobileLedgerDatabase;
 
-public class SplashActivity extends ComponentActivity {
+public class SplashActivity extends CrashReportingActivity {
     private static final long keepActiveForMS = 500;
     private long startupTime;
     private boolean running = true;