mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-02 07:07:33 +01:00
empty or null values should not be matched
This commit is contained in:
parent
f9323943db
commit
13b39903d2
@ -65,6 +65,9 @@ public class ResStringValue extends ResScalarValue {
|
||||
}
|
||||
|
||||
private String checkIfStringIsNumeric(String val) {
|
||||
if (val == null || val.isEmpty()) {
|
||||
return val;
|
||||
}
|
||||
return allDigits.matcher(val).matches() ? "\\ " + val : val;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user