summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-08-18 15:16:08 +0700
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-08-19 15:33:09 +0400
commitbb56531b18d89296e8328394f3126e4602b2714e (patch)
tree84831e4d80b970186db209bb370d00b9149787e1 /tools
parenta82b7b3fff347e88f07bcf93e7ce9df14fac2eb3 (diff)
downloadvendor_replicant-bb56531b18d89296e8328394f3126e4602b2714e.zip
vendor_replicant-bb56531b18d89296e8328394f3126e4602b2714e.tar.gz
vendor_replicant-bb56531b18d89296e8328394f3126e4602b2714e.tar.bz2
opticharger: do not compress resources.arsc
Android does not compress resources.arsc allowing it to be read directly without uncompressing. When opticharger runs, it compresses it breaking the optimization. Change-Id: I9c9b9971a3fe4a21be5a633274832041ca9a33c1
Diffstat (limited to 'tools')
-rwxr-xr-xtools/opticharger2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opticharger b/tools/opticharger
index 9947db0..a3d7ade 100755
--- a/tools/opticharger
+++ b/tools/opticharger
@@ -130,7 +130,7 @@ then
cp $BASE/$1 $BASE/$1.old
[ $QUIET ] || echo "Repacking apk.."
- aapt p -0 .dat -0 .dict -F $NAME .
+ aapt p -0 .dat -0 .dict -0 .arsc -F $NAME .
[ $QUIET ] || echo "Resigning with cert: `echo $CERT`"