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

Commit d18e2e8b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "AlarmMangerService: Fix the delay of ACTION_TIME_CHANGED for time-services"

parents acc1010d 305d339b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1837,7 +1837,8 @@ class AlarmManagerService extends SystemService {
                    }
                    Intent intent = new Intent(Intent.ACTION_TIME_CHANGED);
                    intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING
                            | Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
                            | Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
                            | Intent.FLAG_RECEIVER_FOREGROUND);
                    getContext().sendBroadcastAsUser(intent, UserHandle.ALL);
                }