aboutsummaryrefslogtreecommitdiffstats
path: root/adb_install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb_install.cpp')
-rw-r--r--adb_install.cpp4
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;
}