Merge "Too soon." into klp-modular-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a656ea32e
@ -705,10 +705,6 @@ public final class ActivityStackSupervisor implements DisplayListener {
|
|||||||
profileFile, profileFd, userId);
|
profileFile, profileFd, userId);
|
||||||
|
|
||||||
ActivityContainer container = (ActivityContainer)iContainer;
|
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) {
|
synchronized (mService) {
|
||||||
int callingPid;
|
int callingPid;
|
||||||
if (callingUid >= 0) {
|
if (callingUid >= 0) {
|
||||||
|
Reference in New Issue
Block a user