Parcel queriesProviders in ParsingPackageImpl
This was broken in the original migration, causing this field to be
dropped on reboot.
Bug: 178209505
Test: TODO, separate change will include comprehensive parceling test
Change-Id: I67219fe00c7b92677391fd46305bf0424d74e5f3
(cherry picked from commit 00f69942be)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user