mirror of
https://github.com/revanced/Apktool.git
synced 2024-09-05 05:55:29 +02:00
adds "miui", "android" and "com.htc" to list of ignored renamed packages.
This commit is contained in:
parent
d1eb0b01e1
commit
1e3b66f9be
1
CHANGES
1
CHANGES
@ -36,6 +36,7 @@ v2.0.0 (TBA)
|
||||
-Fixed (issue #196) - Fixed style crash due to malformed styles.
|
||||
-Fixed (issue #603) - Fixed unknown files prefixed with common name from being ignored.
|
||||
-Fixed (issue #606) - Fixed unknown files being ignored when -r is used.
|
||||
-Fixed (issue #609) - Fixed handling renamed manifests with ("android", "com.htc" and "miui").
|
||||
-Fixed issue with non-URI standard characters in apk name (Thanks rover12421)
|
||||
-Added output to list Apktool version to help debugging.
|
||||
-Updated known bytes for configurations to 38 (from addition of layout direction)
|
||||
|
@ -184,8 +184,8 @@ final public class AndrolibResources {
|
||||
resTable.setPackageId(resPackage.getId());
|
||||
resTable.setPackageOriginal(mPackageOriginal);
|
||||
|
||||
if (mPackageOriginal.equalsIgnoreCase(mPackageRenamed) || "android".equalsIgnoreCase(mPackageRenamed)
|
||||
|| "com.htc".equalsIgnoreCase(mPackageRenamed)) {
|
||||
if (mPackageOriginal.equalsIgnoreCase(mPackageRenamed) ||
|
||||
Arrays.asList(IGNORED_PACKAGES).contains(mPackageOriginal)) {
|
||||
LOGGER.info("Regular manifest package...");
|
||||
} else {
|
||||
try {
|
||||
@ -851,4 +851,6 @@ final public class AndrolibResources {
|
||||
|
||||
private File mAaptBinary = null;
|
||||
|
||||
private final static String[] IGNORED_PACKAGES = new String[] {
|
||||
"android", "com.htc", "miui" };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user