Set the IO thread on Android to normal priority (flutter/engine#34588)

This commit is contained in:
Jason Simmons
2022-07-12 13:39:03 -07:00
committed by GitHub
parent 61a6ad7cf2
commit 2528ab8891

View File

@@ -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<ThreadHost>(host_config);