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

Commit d4659698 authored by Christopher Tate's avatar Christopher Tate
Browse files

Don't crash on null installer package bookkeeping.

Bug 13906859

Change-Id: I926ccc5620abae8b97bd2b7de21b82b7729e78dd
parent 121db9e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ public class PackageManagerBackupAgent extends BackupAgent {
                if (home != null) {
                    outputBufferStream.writeUTF(home.flattenToString());
                    outputBufferStream.writeLong(homeVersion);
                    outputBufferStream.writeUTF(homeInstaller);
                    outputBufferStream.writeUTF(homeInstaller != null ? homeInstaller : "" );
                    writeSignatureArray(outputBufferStream, homeSigs);
                    writeEntity(data, DEFAULT_HOME_KEY, outputBuffer.toByteArray());
                } else {