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

Commit ea33b259 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Replace get/setPendingIntentBackgroundActivityLaunchAllowedByPermission" into main

parents b95d2e55 d5f50e48
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7438,8 +7438,7 @@ public class RemoteViews implements Parcelable, Filter {
            // If the user interacts with a visible element it is safe to assume they consent that
            // something is going to start.
            opts.setPendingIntentBackgroundActivityStartMode(
                    ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED);
            opts.setPendingIntentBackgroundActivityLaunchAllowedByPermission(true);
                    ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYS);
            return Pair.create(intent, opts);
        }
    }