Merge "Parcel queriesProviders in ParsingPackageImpl"

This commit is contained in:
Patrick Baumann
2021-03-03 18:19:56 +00:00
committed by Gerrit Code Review

View File

@@ -98,6 +98,8 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
public static ForInternedStringValueMap sForInternedStringValueMap = public static ForInternedStringValueMap sForInternedStringValueMap =
Parcelling.Cache.getOrCreate(ForInternedStringValueMap.class); Parcelling.Cache.getOrCreate(ForInternedStringValueMap.class);
public static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class); public static ForStringSet sForStringSet = Parcelling.Cache.getOrCreate(ForStringSet.class);
public static ForInternedStringSet sForInternedStringSet =
Parcelling.Cache.getOrCreate(ForInternedStringSet.class);
protected static ParsedIntentInfo.StringPairListParceler sForIntentInfoPairs = protected static ParsedIntentInfo.StringPairListParceler sForIntentInfoPairs =
Parcelling.Cache.getOrCreate(ParsedIntentInfo.StringPairListParceler.class); Parcelling.Cache.getOrCreate(ParsedIntentInfo.StringPairListParceler.class);
@@ -1033,6 +1035,7 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
dest.writeBoolean(this.forceQueryable); dest.writeBoolean(this.forceQueryable);
dest.writeParcelableList(this.queriesIntents, flags); dest.writeParcelableList(this.queriesIntents, flags);
sForInternedStringList.parcel(this.queriesPackages, dest, flags); sForInternedStringList.parcel(this.queriesPackages, dest, flags);
sForInternedStringSet.parcel(this.queriesProviders, dest, flags);
dest.writeString(this.appComponentFactory); dest.writeString(this.appComponentFactory);
dest.writeString(this.backupAgentName); dest.writeString(this.backupAgentName);
dest.writeInt(this.banner); dest.writeInt(this.banner);
@@ -1197,6 +1200,7 @@ public class ParsingPackageImpl implements ParsingPackage, Parcelable {
this.forceQueryable = in.readBoolean(); this.forceQueryable = in.readBoolean();
this.queriesIntents = in.createTypedArrayList(Intent.CREATOR); this.queriesIntents = in.createTypedArrayList(Intent.CREATOR);
this.queriesPackages = sForInternedStringList.unparcel(in); this.queriesPackages = sForInternedStringList.unparcel(in);
this.queriesProviders = sForInternedStringSet.unparcel(in);
this.appComponentFactory = in.readString(); this.appComponentFactory = in.readString();
this.backupAgentName = in.readString(); this.backupAgentName = in.readString();
this.banner = in.readInt(); this.banner = in.readInt();