summaryrefslogtreecommitdiffstats
path: root/install/include
diff options
context:
space:
mode:
authorxunchang <xunchang@google.com>2019-04-22 21:18:14 +0200
committerxunchang <xunchang@google.com>2019-04-26 19:36:48 +0200
commitfedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95 (patch)
treefaef441afe34374f515635c59af444846c823354 /install/include
parentMerge "Parse BCB command to enter rescue mode." (diff)
downloadandroid_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar.gz
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar.bz2
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar.lz
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar.xz
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.tar.zst
android_bootable_recovery-fedeef6f6d1f7b8f1e5a8b9e77f8dc21ef6b3c95.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);