diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-03-27 09:31:42 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2019-03-27 12:08:44 +0100 |
commit | f07a24dd3d2b67d2b3525f9c65f6152048454640 (patch) | |
tree | a8792305e897f4fc81cb1c1bf8b35603616971d2 /platform/android/MapboxGLAndroidSDK/src/main/java/com | |
parent | 7f28afc50786f71566afa57786829a27d7ef3b3d (diff) | |
download | qtlocation-mapboxgl-f07a24dd3d2b67d2b3525f9c65f6152048454640.tar.gz |
[android] - don't call OnSurfaceCreated from the main thread
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/java/com')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/renderer/glsurfaceview/GLSurfaceViewMapRenderer.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/renderer/glsurfaceview/GLSurfaceViewMapRenderer.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/renderer/glsurfaceview/GLSurfaceViewMapRenderer.java index 6eeb148283..524c1a62ee 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/renderer/glsurfaceview/GLSurfaceViewMapRenderer.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/renderer/glsurfaceview/GLSurfaceViewMapRenderer.java @@ -40,11 +40,6 @@ public class GLSurfaceViewMapRenderer extends MapRenderer implements GLSurfaceVi public void surfaceDestroyed(SurfaceHolder holder) { onSurfaceDestroyed(); } - - @Override - public void surfaceCreated(SurfaceHolder holder) { - onSurfaceCreated(null, null); - } }); } |