From acfc03463b7fca50f6b176fb1d10aa735aeb2c9d Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Thu, 3 Apr 2014 22:50:38 -0700 Subject: sr: Add performance control * Crank it up when installing Change-Id: I997d937901ff446834e6c479aaf629bee51de388 --- adb_install.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'adb_install.cpp') diff --git a/adb_install.cpp b/adb_install.cpp index a67973d..23bfb51 100644 --- a/adb_install.cpp +++ b/adb_install.cpp @@ -178,11 +178,15 @@ void stop_sideload() { } int wait_sideload() { + set_perf_mode(true); + pthread_join(sideload_thread, NULL); ui->FlushKeys(); maybe_restart_adbd(); + set_perf_mode(false); + return sideload_data.result; } -- cgit v1.1