Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9982c38 authored by Christopher Tate's avatar Christopher Tate Committed by android-build-merger
Browse files

Merge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev

am: b84b8bd4

Change-Id: I7fe49ac402da96a8279212ba3e35442c26075cbd
parents c4d7248c b84b8bd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1049,6 +1049,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);