diff --git a/app/src/main/java/com/android/calendar/Utils.java b/app/src/main/java/com/android/calendar/Utils.java index 6595877c3..d6ab80a2b 100644 --- a/app/src/main/java/com/android/calendar/Utils.java +++ b/app/src/main/java/com/android/calendar/Utils.java @@ -1787,7 +1787,7 @@ public static BroadcastReceiver setTimeChangesReceiver(Context c, Runnable callb filter.addAction(Intent.ACTION_LOCALE_CHANGED); CalendarBroadcastReceiver r = new CalendarBroadcastReceiver(callback); - c.registerReceiver(r, filter); + ContextCompat.registerReceiver(c, r, filter, ContextCompat.RECEIVER_NOT_EXPORTED); return r; }