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
diff --git a/tools/opticharger b/tools/opticharger
index 9947db0..a3d7ade 100755
--- a/tools/opticharger
+++ b/tools/opticharger
@@ -130,7 +130,7 @@
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`"