[android] - Fix crash on dalvik due to missing finalizers

This commit is contained in:
Ivo van Dongen
2016-08-05 14:37:30 -04:00
parent 70c21da06b
commit b4c51dd792
14 changed files with 92 additions and 164 deletions

View File

@@ -70,4 +70,8 @@ public class BackgroundLayer extends Layer {
private native Object nativeGetBackgroundOpacity();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -132,4 +132,8 @@ public class CircleLayer extends Layer {
private native Object nativeGetCirclePitchScale();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -27,4 +27,7 @@ public class CustomLayer extends Layer {
protected native void nativeUpdate();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -147,4 +147,8 @@ public class FillLayer extends Layer {
private native Object nativeGetFillPattern();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -188,4 +188,8 @@ public class LineLayer extends Layer {
private native Object nativeGetLinePattern();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -97,4 +97,8 @@ public class RasterLayer extends Layer {
private native Object nativeGetRasterFadeDuration();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -505,4 +505,8 @@ public class SymbolLayer extends Layer {
private native Object nativeGetTextTranslateAnchor();
@Override
protected native void finalize() throws Throwable;
}

View File

@@ -104,4 +104,8 @@ public class <%- camelize(type) %>Layer extends Layer {
private native Object nativeGet<%- camelize(property.name) %>();
<% } -%>
@Override
protected native void finalize() throws Throwable;
}