diff options
author | Tobrun <tobrun@mapbox.com> | 2017-12-06 11:51:33 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2017-12-06 12:37:48 +0100 |
commit | 2a13bfd2c4c8d1575606d67321fb2354c754fa14 (patch) | |
tree | 295f1b4d77b65c48990de1cfe173747fe88b6953 /platform/android/src/file_source.hpp | |
parent | bc27322853f5d35d546bc704599298fa3efe77cc (diff) | |
download | qtlocation-mapboxgl-2a13bfd2c4c8d1575606d67321fb2354c754fa14.tar.gz |
[android] - add FileSource activation/deactivation to MapSnapshotter, handle multiple deactivate scenario in FileSource (#10556)
Diffstat (limited to 'platform/android/src/file_source.hpp')
-rw-r--r-- | platform/android/src/file_source.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/file_source.hpp b/platform/android/src/file_source.hpp index 2933aedf86..194f784622 100644 --- a/platform/android/src/file_source.hpp +++ b/platform/android/src/file_source.hpp @@ -54,6 +54,7 @@ public: static void registerNative(jni::JNIEnv&); private: + optional<int> activationCounter; std::unique_ptr<Actor<ResourceTransform>> resourceTransform; std::unique_ptr<mbgl::DefaultFileSource> fileSource; }; |