16k: set 16k boundary for shared libs
I'm using this zipalign to re-align the prebuilt apks before checking
them into this branch.
Bug: 268580935
Change-Id: Ic86a63ea50c43fed5d72cbc86a080d2dd4379380
diff --git a/tools/zipalign/ZipAlign.cpp b/tools/zipalign/ZipAlign.cpp
index 23840e3..aa73ce5 100644
--- a/tools/zipalign/ZipAlign.cpp
+++ b/tools/zipalign/ZipAlign.cpp
@@ -38,7 +38,7 @@
static int getAlignment(bool pageAlignSharedLibs, int defaultAlignment,
ZipEntry* pEntry) {
- static const int kPageAlignment = 4096;
+ static const int kPageAlignment = TARGET_PAGE_SIZE;
if (!pageAlignSharedLibs) {
return defaultAlignment;