fixup! recovery: Add support for choosing update from virtiofs
Change-Id: I5096ebd41408af2f2a2797959e7da4ee6ab32e94
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/recovery.cpp b/recovery.cpp
index 29c539c..34cf828 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -214,12 +214,14 @@
const int item_sideload = 0;
const int item_virtiofs = 1;
- unsigned int non_storage_items = 1; // ADB sideload, at least
+ unsigned int non_storage_items;
std::vector<VolumeInfo> volumes;
InstallResult status = INSTALL_NONE;
for (;;) {
+ non_storage_items = 1; // ADB sideload, at least
+
items.clear();
items.push_back("Apply from ADB");