From 43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Mon, 17 Sep 2012 16:00:01 -0400 Subject: Update backup and restore code, adb sideload Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code. --- adb_install.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'adb_install.cpp') diff --git a/adb_install.cpp b/adb_install.cpp index a226ea571..12bce1cca 100644 --- a/adb_install.cpp +++ b/adb_install.cpp @@ -32,6 +32,8 @@ #include "adb_install.h" extern "C" { #include "minadbd/adb.h" +#include "twinstall.h" +int TWinstall_zip(const char* path, int* wipe_cache); } static RecoveryUI* ui = NULL; @@ -106,5 +108,5 @@ apply_from_adb(RecoveryUI* ui_, int* wipe_cache, const char* install_file) { } return INSTALL_ERROR; } - return install_package(ADB_SIDELOAD_FILENAME, wipe_cache, install_file); + return TWinstall_zip(ADB_SIDELOAD_FILENAME, wipe_cache); } -- cgit v1.2.3