diff options
| author | 2023-04-14 20:33:18 +0000 | |
|---|---|---|
| committer | 2023-04-14 20:33:18 +0000 | |
| commit | 6fb4c8dcee5f59558ce5f7759119ef5dec26f919 (patch) | |
| tree | edef463ce5c94499ce2fc3e8a5d4cad4262c9765 /tools/releasetools/apex_utils.py | |
| parent | 8eed7f5ac6a0ff544ec2d99c96dab6f4d4da3e3d (diff) | |
| parent | 01e381954ba45da2b69dcddf5c2fb475e789cc98 (diff) | |
Merge "Order entries in apex_info.pb"
Diffstat (limited to 'tools/releasetools/apex_utils.py')
| -rw-r--r-- | tools/releasetools/apex_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/apex_utils.py b/tools/releasetools/apex_utils.py index 40f7c92deb..d52370194d 100644 --- a/tools/releasetools/apex_utils.py +++ b/tools/releasetools/apex_utils.py @@ -626,7 +626,7 @@ def GetApexInfoFromTargetFiles(input_file, partition, compressed_only=True): if os.path.isfile(deapexer_path): deapexer = deapexer_path - for apex_filename in os.listdir(target_dir): + for apex_filename in sorted(os.listdir(target_dir)): apex_filepath = os.path.join(target_dir, apex_filename) if not os.path.isfile(apex_filepath) or \ not zipfile.is_zipfile(apex_filepath): |