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

Commit ede362dd authored by Achim Thesmann's avatar Achim Thesmann Committed by Android (Google) Code Review
Browse files

Merge "Allow RemoteViews to start Activities via PI" into udc-dev

parents 985b2525 860b4f6f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6717,6 +6717,10 @@ public class RemoteViews implements Parcelable, Filter {
                Log.w(LOG_TAG, "getLaunchOptions: view.getDisplay() is null!",
                        new Exception());
            }
            // 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);
            return Pair.create(intent, opts);
        }
    }