print sideload flashing info in console
Signed-off-by: AndroiableDroid <androiabledroid@gmail.com>
Change-Id: Ife60c1d3582eb296495451907e259c1ad1c9cb2a
diff --git a/twrpinstall/adb_install.cpp b/twrpinstall/adb_install.cpp
index 5eb8c0b..917dbe4 100755
--- a/twrpinstall/adb_install.cpp
+++ b/twrpinstall/adb_install.cpp
@@ -43,6 +43,7 @@
#include "fuse_sideload.h"
#include "twinstall/install.h"
+#include "twinstall.h"
#include "twinstall/wipe_data.h"
#include "minadbd_types.h"
#include "otautil/sysutil.h"
@@ -116,7 +117,8 @@
break;
}
}
- *result = install_package(FUSE_SIDELOAD_HOST_PATHNAME, false, false, 0);
+ int dummy;
+ *result = TWinstall_zip(FUSE_SIDELOAD_HOST_PATHNAME, &dummy);
break;
}