Merge "Fix OTA info persistence logic" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-27 06:22:16 +00:00
committed by Android (Google) Code Review

View File

@@ -723,6 +723,11 @@ class Owners {
mSystemUpdatePolicy.saveToXml(out);
out.endTag(null, TAG_SYSTEM_UPDATE_POLICY);
}
if (mSystemUpdateInfo != null) {
mSystemUpdateInfo.writeToXml(out, TAG_PENDING_OTA_INFO);
}
if (mSystemUpdateFreezeStart != null || mSystemUpdateFreezeEnd != null) {
out.startTag(null, TAG_FREEZE_PERIOD_RECORD);
if (mSystemUpdateFreezeStart != null) {