platform_build/tools
Alex Klyubin 284e45ac09 Fix bug in APK entry alignment.
APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.

Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.

Bug: 27814973

(cherry picked from commit 37a0ecd329)

Change-Id: If2e0df6d3298e9736ef175bb0d9a05d450164c9f
2016-03-23 18:11:35 -07:00
..
acp Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
apicheck
atree Clean up Mac OS hacks in acp slightly. 2016-01-05 09:32:42 -08:00
droiddoc remove the 'refonly' templates. 2016-03-22 16:00:34 -07:00
fs_config am a69dcefd: am 74a81e66: fix device specific fs_config on build server 2015-07-10 19:26:24 +00:00
fs_get_stats fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
ijar Remove warnings from ijar/classfile.cc 2015-12-01 16:44:32 +09:00
makeparallel makeparallel: unset MAKEFLAGS and MAKELEVEL 2016-02-16 13:10:40 -08:00
releasetools Revert "Revert "build: pass version and patch level to mkbootimg"" 2016-03-15 11:23:56 -07:00
rgb2565
signapk Fix bug in APK entry alignment. 2016-03-23 18:11:35 -07:00
signtos
zipalign Fix 2 unused parameter warnings in zipalign. 2016-02-12 02:13:30 +00:00
ziptime Use explicitly sized types in zipalign/ziptime 2015-11-04 23:52:52 +00:00
adbs
Android.mk Remove unneccessary TARGET_BUILD_APPS conditional 2015-12-15 15:49:53 -08:00
buildinfo.sh Add ro.build.ab_update property. 2015-11-19 18:42:52 +00:00
check_builds.sh
check_radio_versions.py
compare_fileslist.py
diff_package_overlays.py
dump-package-stats
event_log_tags.py
fileslist.py
filter-product-graph.py
findleaves.py
fixlinebreaks.sh
generate-notice-files.py Create reproducible NOTICE collections 2015-11-10 12:37:23 -08:00
java-event-log-tags.py
java-layers.py
merge-event-log-tags.py
mktarball.sh fix device specific fs_config on build server 2015-07-10 10:55:54 -07:00
normalize_path.py Normalize the product makefile path in inherit-product. 2015-10-28 15:20:41 -07:00
parsedeps.py
post_process_props.py Do not add 'adb' to persist.sys.usb.config if already there 2015-05-29 07:46:40 +00:00
print_module_licenses.sh
product_debug.py
warn.py