Moved resources.arsc to resource file: /brut/androlib/android-framework.jar .

This commit is contained in:
Ryszard Wiśniewski 2010-03-16 23:45:06 +01:00
parent c95742f66f
commit 9b781a22fa
3 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -201,9 +201,12 @@ final public class AndrolibResources {
}
}
private File getAndroidResourcesFile() {
return new File(getClass().getProtectionDomain().getCodeSource()
.getLocation().getPath());
private File getAndroidResourcesFile() throws AndrolibException {
try {
return Jar.getResourceAsFile("/brut/androlib/android-framework.jar");
} catch (BrutException ex) {
throw new AndrolibException(ex);
}
}
public static String escapeForResXml(String value) {

Binary file not shown.