revert earlier change not running update check timer on DEBUG builds

since they're now upgradable too.
This commit is contained in:
Eric House 2015-06-14 22:34:58 -07:00
parent 6a36c1252d
commit 4b6ea57e70

View file

@ -93,10 +93,6 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
public static void restartTimer( Context context ) public static void restartTimer( Context context )
{ {
if ( BuildConfig.DEBUG ) {
DbgUtils.logf( "UpdateCheckReceiver.restartTimer(): dropping because"
+ " debug builds can't be updated" );
} else {
AlarmManager am = AlarmManager am =
(AlarmManager)context.getSystemService( Context.ALARM_SERVICE ); (AlarmManager)context.getSystemService( Context.ALARM_SERVICE );
@ -114,7 +110,6 @@ public class UpdateCheckReceiver extends BroadcastReceiver {
SystemClock.elapsedRealtime() + interval_millis, SystemClock.elapsedRealtime() + interval_millis,
interval_millis, pi ); interval_millis, pi );
} }
}
// Is app upgradeable OR have we installed any dicts? // Is app upgradeable OR have we installed any dicts?
public static boolean haveToCheck( Context context ) public static boolean haveToCheck( Context context )