Merge branch 'master' of github.com:mapbox/mapbox-gl-native
This commit is contained in:
@@ -1365,8 +1365,7 @@ public class MapView extends FrameLayout implements LocationListener {
|
||||
post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
boolean inProgress = mRotateGestureDetector.isInProgress() || mScaleGestureDetector.isInProgress();
|
||||
mNativeMapView.invalidate(inProgress);
|
||||
mNativeMapView.invalidate();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -96,8 +96,8 @@ class NativeMapView {
|
||||
nativeUpdate(mNativeMapViewPtr);
|
||||
}
|
||||
|
||||
public void invalidate(boolean inProgress) {
|
||||
nativeOnInvalidate(mNativeMapViewPtr, inProgress);
|
||||
public void invalidate() {
|
||||
nativeOnInvalidate(mNativeMapViewPtr);
|
||||
}
|
||||
|
||||
public void resizeView(int width, int height) {
|
||||
@@ -463,7 +463,7 @@ class NativeMapView {
|
||||
|
||||
private native void nativeUpdate(long nativeMapViewPtr);
|
||||
|
||||
private native void nativeOnInvalidate(long nativeMapViewPtr, boolean inProgress);
|
||||
private native void nativeOnInvalidate(long nativeMapViewPtr);
|
||||
|
||||
private native void nativeViewResize(long nativeMapViewPtr, int width, int height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user