From 4ff70aefacb2fb6daa427794c5840053cbc1b731 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 8 Jan 2019 04:27:55 -0500 Subject: [PATCH] Fix stub compile error Close #950 --- app/src/stub/java/com/topjohnwu/magisk/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/stub/java/com/topjohnwu/magisk/MainActivity.java b/app/src/stub/java/com/topjohnwu/magisk/MainActivity.java index 93ee2ec1f..79b57894b 100644 --- a/app/src/stub/java/com/topjohnwu/magisk/MainActivity.java +++ b/app/src/stub/java/com/topjohnwu/magisk/MainActivity.java @@ -24,7 +24,7 @@ public class MainActivity extends Activity { private void dlAPK() { Application app = getApplication(); Networking.get(apkLink) - .getAsFile(apk -> APKInstall.install(app, apk), new File(getFilesDir(), "manager.apk")); + .getAsFile(new File(getFilesDir(), "manager.apk"), apk -> APKInstall.install(app, apk)); finish(); }