mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-21 01:07:34 +01:00
ResXmlEncoders::findNonPositionalSubstitutions(): it now really finds non-positional substs only.
It was showing all substs including positional ones.
This commit is contained in:
parent
3ed49c83cb
commit
8b6e02b41a
@ -166,7 +166,8 @@ public final class ResXmlEncoders {
|
|||||||
if (pos + 1 == length) {
|
if (pos + 1 == length) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (str.charAt(pos + 1) != '%') {
|
char c = str.charAt(pos + 1);
|
||||||
|
if (c >= 'a' && c <= 'z') {
|
||||||
ret.add(pos);
|
ret.add(pos);
|
||||||
if (max != -1 && ++count >= max) {
|
if (max != -1 && ++count >= max) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user