Merge "updater_sample: tools: import AbOtaPropertyFiles from ota_utils" into main am: c117b7e495
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/2837717 Change-Id: Ib0bed3fce375747bf7b8117abba9fc19b6aceec3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
2caa07b8f4
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ import os.path
|
||||||
import sys
|
import sys
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
import ota_from_target_files # pylint: disable=import-error
|
import ota_utils # pylint: disable=import-error
|
||||||
|
|
||||||
|
|
||||||
class GenUpdateConfig(object):
|
class GenUpdateConfig(object):
|
||||||
|
@ -100,7 +100,7 @@ class GenUpdateConfig(object):
|
||||||
def _get_property_files(package_zip):
|
def _get_property_files(package_zip):
|
||||||
"""Constructs the property-files list for A/B streaming metadata."""
|
"""Constructs the property-files list for A/B streaming metadata."""
|
||||||
|
|
||||||
ab_ota = ota_from_target_files.AbOtaPropertyFiles()
|
ab_ota = ota_utils.AbOtaPropertyFiles()
|
||||||
property_str = ab_ota.GetPropertyFilesString(package_zip, False)
|
property_str = ab_ota.GetPropertyFilesString(package_zip, False)
|
||||||
property_files = []
|
property_files = []
|
||||||
for file in property_str.split(','):
|
for file in property_str.split(','):
|
||||||
|
|
Loading…
Reference in a new issue