Lower SMS retry count to 15

Closes #4296
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-11-03 10:37:06 -08:00
parent 3fa11d9931
commit 004a87eba9

View File

@ -174,6 +174,7 @@ public class SmsSendJob extends SendJob {
JobParameters.Builder builder = JobParameters.newBuilder() JobParameters.Builder builder = JobParameters.newBuilder()
.withPersistence() .withPersistence()
.withRequirement(new MasterSecretRequirement(context)) .withRequirement(new MasterSecretRequirement(context))
.withRetryCount(15)
.withGroupId(name); .withGroupId(name);
if (TextSecurePreferences.isWifiSmsEnabled(context)) { if (TextSecurePreferences.isWifiSmsEnabled(context)) {