OSDN Git Service

Fix inefficiency in APK entry data alignment.
authorAlex Klyubin <klyubin@google.com>
Sun, 12 Jun 2016 00:42:29 +0000 (17:42 -0700)
committerAlex Klyubin <klyubin@google.com>
Sun, 12 Jun 2016 00:47:20 +0000 (17:47 -0700)
commitab2a3b0061f26ebc95bc320fcfac316ccf14f567
tree56257a8e15e36d1b3c7ad1a71318a66217c3597d
parent4f8bde47ae6fbee67459af1cdcf5945c36b3845c
Fix inefficiency in APK entry data alignment.

26f00cda4b979d7e74db6872990682335b36612b introduced a bug where an
APK entry's extra field is padded for alignment purposes when no
padding is necessary because the entry is aligned without any padding
bytes.

Bug: 27461702
Change-Id: Icb164dbaa26d9686412e2920318a9f40c5ce9751
tools/signapk/src/com/android/signapk/SignApk.java