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 --- fuse_sdcard_install.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'fuse_sdcard_install.h') diff --git a/fuse_sdcard_install.h b/fuse_sdcard_install.h index 58f84a614..5f0d64acf 100644 --- a/fuse_sdcard_install.h +++ b/fuse_sdcard_install.h @@ -16,4 +16,7 @@ #pragma once -bool start_sdcard_fuse(const char* path); +#include "device.h" +#include "ui.h" + +int ApplyFromSdcard(Device* device, bool* wipe_cache, RecoveryUI* ui); -- cgit v1.2.3