diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-11-06 04:12:18 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-11-06 04:12:18 +0000 |
commit | 4de71a99e9e8c8628fdf2753d3214b0c08f0e093 (patch) | |
tree | f513fe6d803e7f8f4ec8e70ae4563115b48cede7 | |
parent | ed0e3cb0b5e22e4c8cefa0f97d6b4416288d2f1a (diff) | |
parent | c1f6ff058e5ccc707a7133c036f2b19adc5b7faf (diff) | |
download | Calendar-4de71a99e9e8c8628fdf2753d3214b0c08f0e093.tar.gz |
Snap for 5989825 from c1f6ff058e5ccc707a7133c036f2b19adc5b7faf to rvc-release
Change-Id: Icaab2131d5eeefda2cd2d7c84e052584ca7e579d
-rw-r--r-- | src/com/android/calendar/widget/CalendarAppWidgetProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/calendar/widget/CalendarAppWidgetProvider.java b/src/com/android/calendar/widget/CalendarAppWidgetProvider.java index 2864d47a..3a69efd3 100644 --- a/src/com/android/calendar/widget/CalendarAppWidgetProvider.java +++ b/src/com/android/calendar/widget/CalendarAppWidgetProvider.java @@ -64,11 +64,11 @@ public class CalendarAppWidgetProvider extends AppWidgetProvider { performUpdate(context, appWidgetManager, appWidgetManager.getAppWidgetIds(getComponentName(context)), null /* no eventIds */); - } else if (action.equals(Intent.ACTION_PROVIDER_CHANGED) + } else if (action != null && (action.equals(Intent.ACTION_PROVIDER_CHANGED) || action.equals(Intent.ACTION_TIME_CHANGED) || action.equals(Intent.ACTION_TIMEZONE_CHANGED) || action.equals(Intent.ACTION_DATE_CHANGED) - || action.equals(Utils.getWidgetScheduledUpdateAction(context))) { + || action.equals(Utils.getWidgetScheduledUpdateAction(context)))) { Intent service = new Intent(context, CalendarAppWidgetService.class); context.startService(service); } else { |