summaryrefslogtreecommitdiffstats
path: root/adb_install.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2012-09-17 22:00:01 +0200
committerDees_Troy <dees_troy@teamw.in>2012-09-17 22:06:12 +0200
commit43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f (patch)
tree58d02c17fb5487c361244a69a8a9850337638f2d /adb_install.cpp
parentMove to shared libmincrypt (diff)
downloadandroid_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar.gz
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar.bz2
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar.lz
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar.xz
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.tar.zst
android_bootable_recovery-43d8b0077072ff4ef5ffa07be5dcbf7a73fe499f.zip
Diffstat (limited to 'adb_install.cpp')
-rw-r--r--adb_install.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}