mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
refactor: put same path switch on same line
This commit is contained in:
parent
35a4bd6718
commit
2720cf93a3
@ -44,6 +44,7 @@ public class ResValueFactory {
|
|||||||
case TypedValue.TYPE_REFERENCE:
|
case TypedValue.TYPE_REFERENCE:
|
||||||
return newReference(value, null);
|
return newReference(value, null);
|
||||||
case TypedValue.TYPE_ATTRIBUTE:
|
case TypedValue.TYPE_ATTRIBUTE:
|
||||||
|
case TypedValue.TYPE_DYNAMIC_ATTRIBUTE:
|
||||||
return newReference(value, rawValue, true);
|
return newReference(value, rawValue, true);
|
||||||
case TypedValue.TYPE_STRING:
|
case TypedValue.TYPE_STRING:
|
||||||
return new ResStringValue(rawValue, value);
|
return new ResStringValue(rawValue, value);
|
||||||
@ -57,8 +58,6 @@ public class ResValueFactory {
|
|||||||
return new ResBoolValue(value != 0, value, rawValue);
|
return new ResBoolValue(value != 0, value, rawValue);
|
||||||
case TypedValue.TYPE_DYNAMIC_REFERENCE:
|
case TypedValue.TYPE_DYNAMIC_REFERENCE:
|
||||||
return newReference(value, rawValue);
|
return newReference(value, rawValue);
|
||||||
case TypedValue.TYPE_DYNAMIC_ATTRIBUTE:
|
|
||||||
return newReference(value, rawValue, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type >= TypedValue.TYPE_FIRST_COLOR_INT && type <= TypedValue.TYPE_LAST_COLOR_INT) {
|
if (type >= TypedValue.TYPE_FIRST_COLOR_INT && type <= TypedValue.TYPE_LAST_COLOR_INT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user