[core] Clean up ThreadContext vestiges
This commit is contained in:
@@ -100,7 +100,7 @@ private:
|
||||
|
||||
AssetFileSource::AssetFileSource(const std::string& root)
|
||||
: thread(std::make_unique<util::Thread<Impl>>(
|
||||
util::ThreadContext{"AssetFileSource", util::ThreadType::Worker, util::ThreadPriority::Regular},
|
||||
util::ThreadContext{"AssetFileSource"},
|
||||
root)) {
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace util {
|
||||
|
||||
RunLoop::Impl::Impl(RunLoop* runLoop, RunLoop::Type type) {
|
||||
using namespace mbgl::android;
|
||||
detach = attach_jni_thread(theJVM, &env, ThreadContext::getName());
|
||||
detach = attach_jni_thread(theJVM, &env, "");
|
||||
|
||||
loop = ALooper_prepare(0);
|
||||
assert(loop);
|
||||
|
||||
Reference in New Issue
Block a user