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

Commit fd821448 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check and reset quarantined flag, if feature flag is disabled." into main

parents 85b9f907 528aed69
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.util.Slog;

import com.android.modules.utils.TypedXmlPullParser;
import com.android.modules.utils.TypedXmlSerializer;
import com.android.server.pm.Flags;

import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
@@ -141,7 +142,8 @@ public final class SuspendParams {
        PersistableBundle readAppExtras = null;
        PersistableBundle readLauncherExtras = null;

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

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