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

Commit 6dffeb9e authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 8890013a: Merge "Add null check to embeddedAllowed check" into klp-modular-dev

* commit '8890013a':
  Add null check to embeddedAllowed check
parents 68e048d8 8890013a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3068,7 +3068,7 @@ public final class ActivityStackSupervisor implements DisplayListener {
                }
            }
            ActivityInfo aInfo = resolveActivity(intent, resolvedType, 0, null, null, userId);
            if ((aInfo.flags & ActivityInfo.FLAG_ALLOW_EMBEDDED) == 0) {
            if (aInfo != null && (aInfo.flags & ActivityInfo.FLAG_ALLOW_EMBEDDED) == 0) {
                throw new SecurityException(
                        "Attempt to embed activity that has not set allowEmbedded=\"true\"");
            }