Merge "Fix OTA info persistence logic" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ee7802f577
@@ -723,6 +723,11 @@ class Owners {
|
|||||||
mSystemUpdatePolicy.saveToXml(out);
|
mSystemUpdatePolicy.saveToXml(out);
|
||||||
out.endTag(null, TAG_SYSTEM_UPDATE_POLICY);
|
out.endTag(null, TAG_SYSTEM_UPDATE_POLICY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mSystemUpdateInfo != null) {
|
||||||
|
mSystemUpdateInfo.writeToXml(out, TAG_PENDING_OTA_INFO);
|
||||||
|
}
|
||||||
|
|
||||||
if (mSystemUpdateFreezeStart != null || mSystemUpdateFreezeEnd != null) {
|
if (mSystemUpdateFreezeStart != null || mSystemUpdateFreezeEnd != null) {
|
||||||
out.startTag(null, TAG_FREEZE_PERIOD_RECORD);
|
out.startTag(null, TAG_FREEZE_PERIOD_RECORD);
|
||||||
if (mSystemUpdateFreezeStart != null) {
|
if (mSystemUpdateFreezeStart != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user