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

Commit fd899652 authored by Julia Reynolds's avatar Julia Reynolds Committed by Automerger Merge Worker
Browse files

Merge "Restrict alarm broadcast" into oc-mr1-dev am: 3b0fc6bd am: d749dc35

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14103469

Change-Id: I7b6b2e75984b4b643f51750f9ac8c8f2a59ef0db
parents b64eddc2 d749dc35
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5768,6 +5768,7 @@ public class NotificationManagerService extends SystemService {
            final PendingIntent pi = PendingIntent.getBroadcast(getContext(),
                    REQUEST_CODE_TIMEOUT,
                    new Intent(ACTION_NOTIFICATION_TIMEOUT)
                            .setPackage("android")
                            .setData(new Uri.Builder().scheme(SCHEME_TIMEOUT)
                                    .appendPath(record.getKey()).build())
                            .addFlags(Intent.FLAG_RECEIVER_FOREGROUND)