diff options
author | Steve Kondik <shade@chemlab.org> | 2014-04-03 22:50:38 -0700 |
---|---|---|
committer | Michael Bestas <mikeioannina@cyanogenmod.org> | 2016-01-21 03:07:06 +0200 |
commit | acfc03463b7fca50f6b176fb1d10aa735aeb2c9d (patch) | |
tree | 5c4410af0f948dc5fff51ba94a2e8ea9143a8e76 /adb_install.cpp | |
parent | cd60d87be3be8c284e9b8dd9b82da7ef8bcac96c (diff) | |
download | bootable_recovery-acfc03463b7fca50f6b176fb1d10aa735aeb2c9d.tar.gz bootable_recovery-acfc03463b7fca50f6b176fb1d10aa735aeb2c9d.tar.bz2 bootable_recovery-acfc03463b7fca50f6b176fb1d10aa735aeb2c9d.zip |
sr: Add performance control
* Crank it up when installing
Change-Id: I997d937901ff446834e6c479aaf629bee51de388
Diffstat (limited to 'adb_install.cpp')
-rw-r--r-- | adb_install.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |