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
This commit is contained in:
Christopher Lais 2011-01-05 15:10:17 -06:00
parent 74330077de
commit c557d07d8d

View File

@ -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`"