Merge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev am: b84b8bd40d

am: e9982c3836

Change-Id: I8c004d733a0fdfc5ac56491571760676516163d0
This commit is contained in:
Christopher Tate
2017-05-04 06:37:48 +00:00
committed by android-build-merger

View File

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