[android] promote releaseCoreLayer from protected to public

This commit is contained in:
tobrun
2020-01-06 14:40:20 +01:00
committed by Tobrun
parent 5e7e2d23e7
commit f54d47137b

View File

@@ -29,6 +29,9 @@ public:
void addToMap(mbgl::Map&, mbgl::optional<std::string>);
// Release the owned view and return it
std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
jni::Local<jni::String> getId(jni::JNIEnv&);
jni::Local<jni::String> getSourceId(jni::JNIEnv&);
@@ -77,9 +80,6 @@ protected:
*/
Layer(std::unique_ptr<mbgl::style::Layer>);
// Release the owned view and return it
std::unique_ptr<mbgl::style::Layer> releaseCoreLayer();
// Owned layer is set when creating a new layer, before adding it to the map
std::unique_ptr<mbgl::style::Layer> ownedLayer;