From 2528ab8891dd955978c606b8788edc3b5e487861 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Tue, 12 Jul 2022 13:39:03 -0700 Subject: [PATCH] Set the IO thread on Android to normal priority (flutter/engine#34588) --- .../src/flutter/shell/platform/android/android_shell_holder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/android_shell_holder.cc b/engine/src/flutter/shell/platform/android/android_shell_holder.cc index 3537de3ea2..1e5b9e95c0 100644 --- a/engine/src/flutter/shell/platform/android/android_shell_holder.cc +++ b/engine/src/flutter/shell/platform/android/android_shell_holder.cc @@ -100,7 +100,7 @@ AndroidShellHolder::AndroidShellHolder( host_config.io_config = fml::Thread::ThreadConfig( flutter::ThreadHost::ThreadHostConfig::MakeThreadName( flutter::ThreadHost::Type::IO, thread_label), - fml::Thread::ThreadPriority::BACKGROUND); + fml::Thread::ThreadPriority::NORMAL); thread_host_ = std::make_shared(host_config);