Add apex info to the streaming property file
So updaters can streaming download the file, and query the apex info inside the file. Bug: 190244686 Test: generate an OTA package, check the streaming property Change-Id: I17078d3f8d60ca53c6afe82f74b232e2fb242467
This commit is contained in:
@@ -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',
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user