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

Commit 0a8132fb authored by Amith Yamasani's avatar Amith Yamasani Committed by Android (Google) Code Review
Browse files

Merge "Fix bootloop when apps are quarantined" into main

parents db471898 58fc7f6b
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.server.pm.pkg;

import android.annotation.Nullable;
import android.content.pm.Flags;
import android.content.pm.SuspendDialogInfo;
import android.os.BaseBundle;
import android.os.PersistableBundle;
@@ -142,8 +141,7 @@ public final class SuspendParams {
        PersistableBundle readAppExtras = null;
        PersistableBundle readLauncherExtras = null;

        final boolean quarantined = in.getAttributeBoolean(null, ATTR_QUARANTINED, false)
                && Flags.quarantinedEnabled();
        final boolean quarantined = in.getAttributeBoolean(null, ATTR_QUARANTINED, false);

        final int currentDepth = in.getDepth();
        int type;