Merge "AlarmManagerService: Fix FWR before boot completed" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-02-28 03:30:33 +00:00
committed by Android (Google) Code Review

View File

@@ -1670,6 +1670,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);