Merge "Add apex info to the streaming property file" am: 8b92dab126 am: 7af4876c8d am: ebbdffb2ee

Original change: https://android-review.googlesource.com/c/platform/build/+/1729763

Change-Id: I5f35f44b4628b5d3b2e998faa7614d1268ca042b
This commit is contained in:
Tianjie Xu
2021-06-30 00:43:09 +00:00
committed by Automerger Merge Worker
2 changed files with 4 additions and 0 deletions

View File

@@ -530,6 +530,8 @@ class StreamingPropertyFiles(PropertyFiles):
'payload_properties.txt',
)
self.optional = (
# apex_info.pb isn't directly used in the update flow
'apex_info.pb',
# care_map is available only if dm-verity is enabled.
'care_map.pb',
'care_map.txt',

View File

@@ -863,6 +863,7 @@ class StreamingPropertyFilesTest(PropertyFilesTestCase):
property_files.required)
self.assertEqual(
(
'apex_info.pb',
'care_map.pb',
'care_map.txt',
'compatibility.zip',
@@ -962,6 +963,7 @@ class AbOtaPropertyFilesTest(PropertyFilesTestCase):
property_files.required)
self.assertEqual(
(
'apex_info.pb',
'care_map.pb',
'care_map.txt',
'compatibility.zip',