Skip to content

Commit

Permalink
fix: add ANR monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
HashEngineering committed Oct 29, 2024
1 parent 40954dd commit dfbfe76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wallet/src/de/schildbach/wallet/WalletApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
import de.schildbach.wallet.transactions.WalletMostRecentTransactionsObserver;
import de.schildbach.wallet.security.PinRetryController;
import de.schildbach.wallet.util.AllowLockTimeRiskAnalysis;
import de.schildbach.wallet.util.AnrSupervisor;
import de.schildbach.wallet.util.CrashReporter;
import de.schildbach.wallet.util.LogMarkerFilter;
import de.schildbach.wallet.util.MnemonicCodeExt;
Expand Down Expand Up @@ -188,6 +189,7 @@ public class WalletApplication extends MultiDexApplication
public Activity currentActivity;

private AutoLogout autoLogout;
private AnrSupervisor anrSupervisor;

@Inject
RestartService restartService;
Expand Down Expand Up @@ -326,6 +328,8 @@ private void logState() {
}

resetBlockchainSyncProgress();
anrSupervisor = new AnrSupervisor();
anrSupervisor.start();
}

private void syncExploreData() {
Expand Down

0 comments on commit dfbfe76

Please sign in to comment.