From: Damyan Ivanov Date: Tue, 26 Nov 2019 21:54:27 +0000 (+0200) Subject: Transaction saver task: add 30% probability of exception when simulating network... X-Git-Tag: v0.11.0~22 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=d8ced1da25da339175349264b49dac379408f65a;p=mobile-ledger.git Transaction saver task: add 30% probability of exception when simulating network activity --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java index 2e8d9531..4c3bc477 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java @@ -61,10 +61,10 @@ public class SendTransactionTask extends AsyncTask 0.3) +// throw new RuntimeException("Simulated test exception"); // } // catch (InterruptedException ex) { // Logger.debug("network", ex.toString());