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

Commit 1682a504 authored by Winson's avatar Winson Committed by Patrick Baumann
Browse files

Parcel queriesProviders in ParsingPackageImpl

This was broken in the original migration, causing this field to be
dropped on reboot.

Bug: 178209505

Test: atest AppEnumerationHostsideTests

Change-Id: I67219fe00c7b92677391fd46305bf0424d74e5f3
Merged-In: I67219fe00c7b92677391fd46305bf0424d74e5f3
(cherry picked from commit 00f69942)
parent 3faed136
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -98,6 +98,8 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
    public static ForInternedStringValueMap sForInternedStringValueMap =
            Parcelling.Cache.getOrCreate(ForInternedStringValueMap.class);
    public static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class);
    public static ForInternedStringSet sForInternedStringSet =
            Parcelling.Cache.getOrCreate(ForInternedStringSet.class);
    protected static ParsedIntentInfo.StringPairListParceler sForIntentInfoPairs =
            Parcelling.Cache.getOrCreate(ParsedIntentInfo.StringPairListParceler.class);

@@ -1026,6 +1028,7 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
        dest.writeBoolean(this.forceQueryable);
        dest.writeParcelableList(this.queriesIntents, flags);
        sForInternedStringList.parcel(this.queriesPackages, dest, flags);
        sForInternedStringSet.parcel(this.queriesProviders, dest, flags);
        dest.writeString(this.appComponentFactory);
        dest.writeString(this.backupAgentName);
        dest.writeInt(this.banner);
@@ -1188,6 +1191,7 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
        this.forceQueryable = in.readBoolean();
        this.queriesIntents = in.createTypedArrayList(Intent.CREATOR);
        this.queriesPackages = sForInternedStringList.unparcel(in);
        this.queriesProviders = sForInternedStringSet.unparcel(in);
        this.appComponentFactory = in.readString();
        this.backupAgentName = in.readString();
        this.banner = in.readInt();