summaryrefslogtreecommitdiff
path: root/platform/android/src/run_loop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/run_loop.cpp')
-rw-r--r--platform/android/src/run_loop.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/android/src/run_loop.cpp b/platform/android/src/run_loop.cpp
index fc45539e5e..2966ecdfb0 100644
--- a/platform/android/src/run_loop.cpp
+++ b/platform/android/src/run_loop.cpp
@@ -81,9 +81,6 @@ private:
};
RunLoop::Impl::Impl(RunLoop* runLoop_, RunLoop::Type type) : runLoop(runLoop_) {
- using namespace mbgl::android;
- detach = attach_jni_thread(theJVM, &env, platform::getCurrentThreadName());
-
loop = ALooper_prepare(0);
assert(loop);
@@ -129,9 +126,6 @@ RunLoop::Impl::~Impl() {
}
ALooper_release(loop);
-
- using namespace mbgl::android;
- detach_jni_thread(theJVM, &env, detach);
}
void RunLoop::Impl::wake() {