diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-13 19:53:29 +0300 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-14 13:51:27 -0700 |
commit | 7b3c61f6198cd36b1cc08f26d9a3d8e748a49a99 (patch) | |
tree | 561c051b9698c69695d566a9ba6969e05960d4f1 /platform/android/src/native_map_view.hpp | |
parent | a65c19c5694a54770eddf03536ff8dcb585608b1 (diff) | |
download | qtlocation-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-x | platform/android/src/native_map_view.hpp | 4 |
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; |