From 3cc23d5eacad15fee7d659669f51673751d1ae2b Mon Sep 17 00:00:00 2001 From: xunchang Date: Mon, 18 Mar 2019 15:03:33 -0700 Subject: Move apply_from_sdcard to fuse_sdcard_install Move the sdcard installation function and all helper functions to a separate file, and drop the dependency on common.h. In the future, we want to move these functions into the install class. Bug: 127071893 Test: unit tests pass Change-Id: I0b7f7cbf0b68918e638e13878ca28bfca367088a --- adb_install.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'adb_install.cpp') diff --git a/adb_install.cpp b/adb_install.cpp index 438da9fc3..3f2843fef 100644 --- a/adb_install.cpp +++ b/adb_install.cpp @@ -35,7 +35,6 @@ #include "ui.h" int apply_from_adb(bool* wipe_cache) { - modified_flash = true; // Save the usb state to restore after the sideload operation. std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); // Clean up state and stop adbd. -- cgit v1.2.3