mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
ResArrayValue: added support for empty arrays.
This commit is contained in:
parent
916e872330
commit
c9f298fdea
@ -59,6 +59,9 @@ public class ResArrayValue extends ResBagValue implements ResXmlSerializable {
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
if (mItems.length == 0) {
|
||||
return null;
|
||||
}
|
||||
String type = mItems[0].getType();
|
||||
if (! "string".equals(type) && ! "integer".equals(type)) {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user