Merge "AlarmManagerService: Fix FWR before boot completed"

This commit is contained in:
Treehugger Robot
2020-02-28 00:49:32 +00:00
committed by Gerrit Code Review

View File

@@ -1675,6 +1675,7 @@ class AlarmManagerService extends SystemService {
Intent intent = new Intent(Intent.ACTION_TIMEZONE_CHANGED);
intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING
| Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND
| Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
| Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS);
intent.putExtra("time-zone", zone.getID());
getContext().sendBroadcastAsUser(intent, UserHandle.ALL);