[app] fix NPE when serializing apkFile

This commit is contained in:
Torsten Grote
2022-12-20 11:42:24 -03:00
parent 6cfd153114
commit 822f60b4e8

View File

@@ -322,7 +322,7 @@ public class Apk implements Comparable<Apk>, Parcelable {
dest.writeStringArray(this.nativecode);
dest.writeString(this.sig);
dest.writeByte(this.compatible ? (byte) 1 : (byte) 0);
dest.writeString(this.apkFile.serialize());
dest.writeString(this.apkFile != null ? this.apkFile.serialize() : null);
dest.writeSerializable(this.installedFile);
dest.writeString(this.srcname);
dest.writeString(this.repoAddress);