diff options
author | Hridya Valsaraju <hridya@google.com> | 2018-09-10 00:42:25 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-09-10 00:42:25 +0200 |
commit | fae21617f9f1a2ce62e2e09082155de0f50a99ad (patch) | |
tree | 6317b863fe3e7cb8abd2b10f4ff48984dbe64208 /recovery_main.cpp | |
parent | Merge "Remove res-560dpi symlink." am: 02986d381e (diff) | |
parent | Merge "Fix sideload for user devices by adding a new sideload config" (diff) | |
download | android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar.gz android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar.bz2 android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar.lz android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar.xz android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.tar.zst android_bootable_recovery-fae21617f9f1a2ce62e2e09082155de0f50a99ad.zip |
Diffstat (limited to 'recovery_main.cpp')
-rw-r--r-- | recovery_main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp index 020a5314f..c3168fc23 100644 --- a/recovery_main.cpp +++ b/recovery_main.cpp @@ -305,11 +305,6 @@ static void redirect_stdio(const char* filename) { } } -static bool SetUsbConfig(const std::string& state) { - android::base::SetProperty("sys.usb.config", state); - return android::base::WaitForProperty("sys.usb.state", state); -} - int main(int argc, char** argv) { // We don't have logcat yet under recovery; so we'll print error on screen and log to stdout // (which is redirected to recovery.log) as we used to do. |