Merge "Add apex info to the streaming property file"

This commit is contained in:
Tianjie Xu
2021-06-29 23:58:47 +00:00
committed by Gerrit Code Review
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',