handle .obf.zip by unzipping the map file then installing it

This commit is contained in:
Hans-Christoph Steiner
2020-10-20 16:10:55 +02:00
parent 021d5cc1ff
commit c0344c1eed
5 changed files with 146 additions and 36 deletions

View File

@@ -75,7 +75,7 @@ public class ApkTest {
assertFalse(apk.isApk());
copyResourceFileToCache(apk);
File path = apk.getMediaInstallPath(context);
assertEquals(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), path);
assertEquals(context.getCacheDir(), path);
}
private void copyResourceFileToCache(Apk apk) throws IOException {