From c557d07d8d7cc2277006a4a90261f3574ee09e13 Mon Sep 17 00:00:00 2001 From: Christopher Lais Date: Wed, 5 Jan 2011 15:10:17 -0600 Subject: [PATCH] opticharger: fix PinyinIME aapt's -0 option is for extensions only, not directories, and PinyinIME needs .dat to be excluded. Nothing else in CM7 uses a .dat file, so this shouldn't increase the .apk size more than is needed. Also adding .dict, which isn't strictly required, but LatinIME wants it. Nothing in CM7 but LatinIME uses .dict. Change-Id: I7ce1b2cbc2b32c734978488aac2f4f6c43562cc1 --- tools/opticharger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/opticharger b/tools/opticharger index 9e1af13d..203fd2b6 100755 --- a/tools/opticharger +++ b/tools/opticharger @@ -106,7 +106,7 @@ then cp $BASE/$1 $BASE/$1.old [ $QUIET ] || echo "Repacking apk.." - aapt p -0 res/raw -0 res/raw-en -F $NAME . + aapt p -0 .dat -0 .dict -F $NAME . [ $QUIET ] || echo "Resigning with cert: `echo $CERT`"