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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user