Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ private void invokeAapt2(File apkFile, File manifest, File resDir, File rawDir,
cmd.add("--no-version-vectors");
cmd.add("--no-version-transitions");
cmd.add("--no-resource-deduping");

cmd.add("--no-compile-sdk-metadata");

// #3427 - Ignore stricter parsing during aapt2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

public class ApkInfo implements YamlSerializable {
public static final String[] RESOURCES_DIRNAMES = { "res", "r", "R" };
public static final String[] RAW_DIRNAMES = { "assets", "lib", "libs", "kotlin", "META-INF/services" };
public static final String[] RAW_DIRNAMES = { "assets", "lib" };

public static final Pattern ORIGINAL_FILENAMES_PATTERN = Pattern.compile(
"AndroidManifest\\.xml|META-INF/[^/]+\\.(RSA|SF|MF)|stamp-cert-sha256");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,6 @@ private void doNext() throws IOException {
continue;
}


if (chunkType == ARSCHeader.RES_XML_START_ELEMENT_TYPE) {
mNamespaceIndex = mIn.readInt();
mNameIndex = mIn.readInt();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ public void resRawTest() throws BrutException {

@Test
public void libsTest() throws BrutException {
compareBinaryFolder("libs");
compareBinaryFolder("lib");
}

Expand Down Expand Up @@ -569,9 +568,4 @@ public void singleDexTest() throws BrutException {
compareBinaryFolder("smali");
assertTrue(new File(sTestOrigDir, "build/apk/classes.dex").isFile());
}

@Test
public void confirmKotlinFolderPersistsTest() {
assertTrue(new File(sTestNewDir, "kotlin").isDirectory());
}
}

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ protected Map<String, AbstractDirectory> getAbstractDirs(boolean recursive) {
return dirs;
}


public void close() throws IOException {
// stub
}

private SubPath getSubPath(String path) throws PathNotExist {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ private ZipFile getZipFile() {
return mZipFile;
}


public void close() throws IOException {
mZipFile.close();
}
Expand Down
Loading