mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
style: cleanup formatting
This commit is contained in:
parent
4a856b46c4
commit
5f43a1fbca
@ -240,7 +240,7 @@ public class Androlib {
|
||||
if (in.containsDir("META-INF")) {
|
||||
in.copyToDir(originalDir, "META-INF");
|
||||
|
||||
if(in.containsDir("META-INF/services")){
|
||||
if (in.containsDir("META-INF/services")) {
|
||||
// If the original APK contains the folder META-INF/services folder
|
||||
// that is used for service locators (like coroutines on android),
|
||||
// copy it to the destination folder so it does not get dropped.
|
||||
|
@ -17,9 +17,7 @@
|
||||
package brut.androlib.decode;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
@ -44,6 +42,7 @@ import static org.junit.Assert.assertTrue;
|
||||
*/
|
||||
public class DecodeKotlinCoroutinesTest extends BaseTest {
|
||||
private static String apk = "test-kotlin-coroutines.apk";
|
||||
|
||||
@BeforeClass
|
||||
public static void beforeClass() throws Exception {
|
||||
TestUtils.cleanFrameworkFile();
|
||||
@ -65,8 +64,8 @@ public class DecodeKotlinCoroutinesTest extends BaseTest {
|
||||
apkDecoder.setOutDir(new File(sTmpDir + File.separator + apk + ".out"));
|
||||
apkDecoder.setForceDelete(true);
|
||||
apkDecoder.decode();
|
||||
File coroutinesExceptionHandler = new File(sTmpDir + File.separator + apk + ".out"+File.separator + "META-INF" + File.separator + "services", "kotlinx.coroutines.CoroutineExceptionHandler");
|
||||
File coroutinenMainDispatcherHandler = new File(sTmpDir + File.separator + apk + ".out"+File.separator + "META-INF" + File.separator + "services", "kotlinx.coroutines.internal.MainDispatcherFactory");
|
||||
File coroutinesExceptionHandler = new File(sTmpDir + File.separator + apk + ".out" + File.separator + "META-INF" + File.separator + "services", "kotlinx.coroutines.CoroutineExceptionHandler");
|
||||
File coroutinenMainDispatcherHandler = new File(sTmpDir + File.separator + apk + ".out" + File.separator + "META-INF" + File.separator + "services", "kotlinx.coroutines.internal.MainDispatcherFactory");
|
||||
|
||||
assert (coroutinesExceptionHandler.exists());
|
||||
assert (coroutinenMainDispatcherHandler.exists());
|
||||
|
Loading…
Reference in New Issue
Block a user