From e4ef453914235d1ac3bea1c1a27975ee1ea7da73 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Fri, 31 Aug 2018 11:57:51 -0700 Subject: Fix sideload for user devices by adding a new sideload config Bug: 113563995 Test: Tested the 'adb sideload' command on marlin user/userdebug builds and walleye user/userdebug builds Change-Id: I00d565547b85f2db87012e4a08316609e03395ac --- recovery_main.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'recovery_main.cpp') 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. -- cgit v1.2.3