summaryrefslogtreecommitdiffstats
path: root/install/include
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-04-29 19:47:20 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-29 19:47:20 +0200
commit8fc8f39b623e024ec015d1fef06a0a3013835946 (patch)
treea0561a174f68bd867fe5bdaff42ca8e1ac1d9f39 /install/include
parentMerge "Add recovery_host_test to TEST_MAPPING." (diff)
parentSupport wipe command in rescue mode (diff)
downloadandroid_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar.gz
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar.bz2
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar.lz
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar.xz
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.tar.zst
android_bootable_recovery-8fc8f39b623e024ec015d1fef06a0a3013835946.zip
Diffstat (limited to 'install/include')
-rw-r--r--install/include/install/adb_install.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/install/include/install/adb_install.h b/install/include/install/adb_install.h
index 49b32b54f..3a0a81747 100644
--- a/install/include/install/adb_install.h
+++ b/install/include/install/adb_install.h
@@ -17,9 +17,8 @@
#pragma once
#include <recovery_ui/device.h>
-#include <recovery_ui/ui.h>
// Applies a package via `adb sideload` or `adb rescue`. Returns the install result (in `enum
// InstallResult`). When a reboot has been requested, INSTALL_REBOOT will be the return value, with
// the reboot target set in reboot_action.
-int ApplyFromAdb(RecoveryUI* ui, bool rescue_mode, Device::BuiltinAction* reboot_action);
+int ApplyFromAdb(Device* device, bool rescue_mode, Device::BuiltinAction* reboot_action);