mirror of
https://github.com/revanced/Apktool.git
synced 2025-04-30 22:24:25 +02:00
Revert "switch to "startsWith" to stop AndroResGuard tricks"
This reverts commit c7f4dfe1db3d8fbfe66315c7dc9e0c199c38b0df.
This commit is contained in:
parent
085e8f66ef
commit
65fb5c25c2
@ -58,15 +58,15 @@ public class ResFileDecoder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (typeName.startsWith("raw")) {
|
if (typeName.equals("raw")) {
|
||||||
decode(inDir, inFileName, outDir, outFileName, "raw");
|
decode(inDir, inFileName, outDir, outFileName, "raw");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (typeName.startsWith("font") && !".xml".equals(ext)) {
|
if (typeName.equals("font") && !".xml".equals(ext)) {
|
||||||
decode(inDir, inFileName, outDir, outFileName, "raw");
|
decode(inDir, inFileName, outDir, outFileName, "raw");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (typeName.startsWith("drawable") || typeName.startsWith("mipmap")) {
|
if (typeName.equals("drawable") || typeName.equals("mipmap")) {
|
||||||
if (inFileName.toLowerCase().endsWith(".9" + ext)) {
|
if (inFileName.toLowerCase().endsWith(".9" + ext)) {
|
||||||
outFileName = outResName + ".9" + ext;
|
outFileName = outResName + ".9" + ext;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user