summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java
index d4335d1d7a..7bcc6ad234 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java
@@ -331,8 +331,8 @@ public class OfflineRegion {
handler.post(new Runnable() {
@Override
public void run() {
- callback.onStatus(status);
FileSource.getInstance(Mapbox.getApplicationContext()).deactivate();
+ callback.onStatus(status);
}
});
}
@@ -342,8 +342,8 @@ public class OfflineRegion {
handler.post(new Runnable() {
@Override
public void run() {
- callback.onError(error);
FileSource.getInstance(Mapbox.getApplicationContext()).deactivate();
+ callback.onError(error);
}
});
}
@@ -377,8 +377,8 @@ public class OfflineRegion {
handler.post(new Runnable() {
@Override
public void run() {
- callback.onDelete();
FileSource.getInstance(Mapbox.getApplicationContext()).deactivate();
+ callback.onDelete();
OfflineRegion.this.finalize();
}
});