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

Commit 400988b6 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am fbb0796e: am 3359bbe0: Merge "Add test for attribute android:allowEmbedded" into klp-modular-dev

* commit 'fbb0796e':
  Add test for attribute android:allowEmbedded
parents 2ac0462e fbb0796e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -710,6 +710,10 @@ public final class ActivityStackSupervisor implements DisplayListener {
                profileFile, profileFd, userId);

        ActivityContainer container = (ActivityContainer)iContainer;
        if (container != null && (aInfo.flags & ActivityInfo.FLAG_ALLOW_EMBEDDED) == 0) {
            throw new SecurityException(
                    "Activities launched in ActivityContainers must set allowEmbedded=\"true\"");
        }
        synchronized (mService) {
            int callingPid;
            if (callingUid >= 0) {