From e0a07697044908f832beb402cbffea602eed0fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Sun, 15 May 2011 16:52:29 +0200 Subject: [PATCH] Androlib::getVersion() : read version from apktool.properties ." --- apktool-lib/src/main/java/brut/androlib/Androlib.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apktool-lib/src/main/java/brut/androlib/Androlib.java b/apktool-lib/src/main/java/brut/androlib/Androlib.java index 7c56a8ac..b9ea2283 100644 --- a/apktool-lib/src/main/java/brut/androlib/Androlib.java +++ b/apktool-lib/src/main/java/brut/androlib/Androlib.java @@ -375,7 +375,7 @@ public class Androlib { } public static String getVersion() { - return VERSION; + return ApktoolProperties.get("aversion"); } private File[] parseUsesFramework(Map usesFramework) @@ -436,5 +436,4 @@ public class Androlib { new String[]{"resources.arsc", "AndroidManifest.xml"}; private final static String[] APP_RESOURCES_FILENAMES = new String[]{"AndroidManifest.xml", "res"}; - private final static String VERSION = "1.3.2"; }