From a8a9c40a7b2d2a70deae729d12380bfd3444b887 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sat, 26 Dec 2015 06:58:39 -0500 Subject: [PATCH] add ResBoolValue to Style check --- .../main/java/brut/androlib/res/data/value/ResStyleValue.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStyleValue.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStyleValue.java index ae1d3cdb..d847a80c 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStyleValue.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStyleValue.java @@ -59,7 +59,8 @@ public class ResStyleValue extends ResBagValue implements // hacky-fix remove bad ReferenceVars if (resource.contains("ResReferenceValue@")) { continue; - } else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@")) { + } else if (resource.contains("ResStringValue@") || resource.contains("ResStyleValue@") || + resource.contains("ResBoolValue@")) { name = "@" + spec.getFullName(res.getResSpec().getPackage(), false); } else { ResAttr attr = (ResAttr) spec.getDefaultResource().getValue();