mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-12 09:16:37 +02:00
parent
a64a031f4f
commit
d5ca4c12a1
@ -34,7 +34,7 @@ public class ResValueFactory {
|
||||
public ResScalarValue factory(int type, int value, String rawValue) throws AndrolibException {
|
||||
switch (type) {
|
||||
case TypedValue.TYPE_NULL:
|
||||
if (value == TypedValue.DATA_NULL_EMPTY) { // Special case $empty as explicitly defined empty value
|
||||
if (value == TypedValue.DATA_NULL_UNDEFINED) { // Special case $empty as explicitly defined empty value
|
||||
return new ResStringValue(null, value);
|
||||
}
|
||||
return new ResReferenceValue(mPackage, 0, null);
|
||||
|
@ -9,4 +9,7 @@
|
||||
<item name="@string/issue_477">?android:dividerVertical</item>
|
||||
</style>
|
||||
<style name="Foo.Bar" parent=""/>
|
||||
<style name="IssueStyle">
|
||||
<item name="@string/issue_1123">@null</item>
|
||||
</style>
|
||||
</resources>
|
@ -3,4 +3,5 @@
|
||||
<string name="test1" />
|
||||
<string name="hello_world">Hello World</string>
|
||||
<string name="issue_477">divider</string>
|
||||
<string name="issue_1123">divider</string>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user