summaryrefslogtreecommitdiff
path: root/platform/android/src/native_map_view.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-04-13 19:53:29 +0300
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-14 13:51:27 -0700
commit7b3c61f6198cd36b1cc08f26d9a3d8e748a49a99 (patch)
tree561c051b9698c69695d566a9ba6969e05960d4f1 /platform/android/src/native_map_view.hpp
parenta65c19c5694a54770eddf03536ff8dcb585608b1 (diff)
downloadqtlocation-mapboxgl-7b3c61f6198cd36b1cc08f26d9a3d8e748a49a99.tar.gz
[android] Do not attach/detach to threads
Not needed as everything is now running on the same thread.
Diffstat (limited to 'platform/android/src/native_map_view.hpp')
-rwxr-xr-xplatform/android/src/native_map_view.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp
index b0142adb17..0c29c2fe5c 100755
--- a/platform/android/src/native_map_view.hpp
+++ b/platform/android/src/native_map_view.hpp
@@ -57,6 +57,7 @@ private:
private:
JavaVM *vm = nullptr;
+ JNIEnv *env = nullptr;
jweak obj = nullptr;
ANativeWindow *window = nullptr;
@@ -84,9 +85,6 @@ private:
int availableProcessors = 0;
size_t totalMemory = 0;
- jboolean renderDetach = false;
- JNIEnv *renderEnv = nullptr;
-
// Ensure these are initialised last
std::unique_ptr<mbgl::DefaultFileSource> fileSource;
std::unique_ptr<mbgl::Map> map;