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

Commit 42ef1e2a authored by Song Chun Fan's avatar Song Chun Fan Committed by Songchun Fan
Browse files

[pm] update the value of MATCH_QUARANTINED_COMPONENTS

Avoid duplicating flag values, as the old value 0x100000000L is the same as MATCH_ARCHIVED_PACKAGES (1L << 32). This flag is added recently so it should be okay to just update its value.

Change-Id: I6e8a836068ad777cc22823c6ec5d37b8b848e024
BUG: 314815969
Test: n/a
parent 4ab616bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13044,7 +13044,7 @@ package android.content.pm {
    field public static final int MATCH_DIRECT_BOOT_UNAWARE = 262144; // 0x40000
    field public static final int MATCH_DISABLED_COMPONENTS = 512; // 0x200
    field public static final int MATCH_DISABLED_UNTIL_USED_COMPONENTS = 32768; // 0x8000
    field @FlaggedApi("android.content.pm.quarantined_enabled") public static final long MATCH_QUARANTINED_COMPONENTS = 4294967296L; // 0x100000000L
    field @FlaggedApi("android.content.pm.quarantined_enabled") public static final long MATCH_QUARANTINED_COMPONENTS = 8589934592L; // 0x200000000L
    field public static final int MATCH_SYSTEM_ONLY = 1048576; // 0x100000
    field public static final int MATCH_UNINSTALLED_PACKAGES = 8192; // 0x2000
    field public static final long MAXIMUM_VERIFICATION_TIMEOUT = 3600000L; // 0x36ee80L
+1 −1
Original line number Diff line number Diff line
@@ -1279,7 +1279,7 @@ public abstract class PackageManager {
     * @see #isPackageQuarantined
     */
    @FlaggedApi(android.content.pm.Flags.FLAG_QUARANTINED_ENABLED)
    public static final long MATCH_QUARANTINED_COMPONENTS = 0x100000000L;
    public static final long MATCH_QUARANTINED_COMPONENTS = 1L << 33;

    /**
     * Flag for {@link #addCrossProfileIntentFilter}: if this flag is set: when