removed --original

This commit is contained in:
Connor Tumbleson
2013-03-19 08:52:24 -05:00
parent 69ee710e30
commit e4d506ab27
3 changed files with 0 additions and 26 deletions

View File

@ -189,15 +189,6 @@ public class Androlib {
: (Boolean) meta.get("compressionType"));
mAndRes.setSdkInfo((Map<String, String>) meta.get("sdkInfo"));
// check the orig apk
if (flags.get("injectOriginal")) {
if (!origApk.isFile() || !origApk.canRead()) {
throw new InFileNotFoundException();
} else {
mOrigApkFile = origApk;
}
}
if (outFile == null) {
String outFileName = (String) meta.get("apkFileName");
outFile = new File(appDir, "dist" + File.separator
@ -450,13 +441,6 @@ public class Androlib {
}
mAndRes.aaptPackage(outApk, null, null, new File(appDir, APK_DIRNAME),
assetDir, null, flags, mAaptPath);
// retain signature
// aapt r (remove)
// aapt a (add)
if (flags.get("injectOriginal")) {
LOGGER.info("Injecting contents isn't ready yet. Sorry :(");
}
}
public void publicizeResources(File arscFile) throws AndrolibException {

View File

@ -182,7 +182,6 @@ public class BuildAndDecodeTest {
tmp.put("forceBuildAll", false);
tmp.put("debug", false);
tmp.put("verbose", false);
tmp.put("injectOriginal", false);
tmp.put("framework", false);
tmp.put("update", false);