mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
use same SMS resend backoff for debug as release
This commit is contained in:
parent
c8beefaafe
commit
75488aefc0
1 changed files with 2 additions and 4 deletions
|
@ -39,10 +39,8 @@ public class SMSResendReceiver extends BroadcastReceiver {
|
|||
private static final String TAG = SMSResendReceiver.class.getSimpleName();
|
||||
|
||||
private static final String BACKOFF_KEY = TAG + "/backoff";
|
||||
private static final int MIN_BACKOFF_SECONDS
|
||||
= BuildConfig.DEBUG ? 10 : 60 * 5;
|
||||
private static final int MAX_BACKOFF_SECONDS
|
||||
= BuildConfig.DEBUG ? 60 * 5 : 60 * 60 * 12;
|
||||
private static final int MIN_BACKOFF_SECONDS = 60 * 5;
|
||||
private static final int MAX_BACKOFF_SECONDS = 60 * 60 * 12;
|
||||
|
||||
@Override
|
||||
public void onReceive( Context context, Intent intent )
|
||||
|
|
Loading…
Reference in a new issue