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

Commit 7f0dfb33 authored by Achim Thesmann's avatar Achim Thesmann Committed by Automerger Merge Worker
Browse files

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

parents 97e31479 ede362dd
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);
        }
    }