mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-13 06:17:46 +01:00
fix invalid casting
This commit is contained in:
parent
63b0dd1edb
commit
6b173146ac
@ -266,7 +266,7 @@ public class Androlib {
|
|||||||
Object t1 = meta.get("isFrameworkApk");
|
Object t1 = meta.get("isFrameworkApk");
|
||||||
flags.put("framework", t1 == null ? false : (Boolean) t1);
|
flags.put("framework", t1 == null ? false : (Boolean) t1);
|
||||||
flags.put("compression", meta.get("compressionType") == null ? false
|
flags.put("compression", meta.get("compressionType") == null ? false
|
||||||
: (Boolean) meta.get("compressionType"));
|
: Boolean.valueOf(meta.get("compressionType").toString()));
|
||||||
mAndRes.setSdkInfo((Map<String, String>) meta.get("sdkInfo"));
|
mAndRes.setSdkInfo((Map<String, String>) meta.get("sdkInfo"));
|
||||||
mAndRes.setPackageId((Map<String, String>) meta.get("packageInfo"));
|
mAndRes.setPackageId((Map<String, String>) meta.get("packageInfo"));
|
||||||
mAndRes.setVersionInfo((Map<String, String>) meta.get("versionInfo"));
|
mAndRes.setVersionInfo((Map<String, String>) meta.get("versionInfo"));
|
||||||
|
Loading…
Reference in New Issue
Block a user