Skip to content

Commit

Permalink
Utils: Don't export CalendarBroadcastReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
theimpulson authored and jspricke committed Oct 17, 2023
1 parent 3036cd6 commit dd1beb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/android/calendar/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dd1beb9

Please sign in to comment.