public static void updateWidgets(Context context) { if (suppressUpdateFlag > 0 && DateUtilities.now() - suppressUpdateFlag < SUPPRESS_TIME) { return; } suppressUpdateFlag = 0; if (preIceCreamSandwich()) { context.startService(new Intent(context, WidgetUpdateService.class)); } else { updateScrollableWidgets(context, null); } }