Fix stub compile error

Close #950
This commit is contained in:
topjohnwu 2019-01-08 04:27:55 -05:00
parent d63b5d7014
commit 4ff70aefac

View File

@ -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();
}