summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-29 23:53:23 +0100
committerTao Bao <tbao@google.com>2019-03-29 23:54:02 +0100
commite0cfab3de9d0e1b09799c7e488f171b31ddfe7bf (patch)
treebca9e55c10ab5d09e5fb76cf9c71bc5ff8138cdd /recovery.cpp
parentRemove ui_print(). (diff)
downloadandroid_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar.gz
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar.bz2
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar.lz
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar.xz
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.tar.zst
android_bootable_recovery-e0cfab3de9d0e1b09799c7e488f171b31ddfe7bf.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 02cc53c2c..034918498 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -271,12 +271,6 @@ static bool erase_volume(const char* volume) {
return (result == 0);
}
-// Sets the usb config to 'state'
-bool SetUsbConfig(const std::string& state) {
- android::base::SetProperty("sys.usb.config", state);
- return android::base::WaitForProperty("sys.usb.state", state);
-}
-
static bool yes_no(Device* device, const char* question1, const char* question2) {
std::vector<std::string> headers{ question1, question2 };
std::vector<std::string> items{ " No", " Yes" };