summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2016-05-03 15:56:05 -0500
committerBrad Leege <bleege@gmail.com>2016-05-03 16:31:16 -0500
commit7e2ec7fc240e1a69927afc751275f3a7d632debc (patch)
treeab252fcff54133e95d34515ccc2df06b0194b8ed /platform
parent2380b4de1359cd9db1e65405b10aa5360da75b80 (diff)
downloadqtlocation-mapboxgl-7e2ec7fc240e1a69927afc751275f3a7d632debc.tar.gz
[android] #4847 - Re-enabling StrictMode
Diffstat (limited to 'platform')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MapboxApplication.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MapboxApplication.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MapboxApplication.java
index 6f0f0f3c78..4b1305daed 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MapboxApplication.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MapboxApplication.java
@@ -11,17 +11,17 @@ public class MapboxApplication extends Application {
public void onCreate() {
super.onCreate();
LeakCanary.install(this);
-// StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
-// .detectDiskReads()
-// .detectDiskWrites()
-// .detectNetwork() // or .detectAll() for all detectable problems
-// .penaltyLog()
-// .build());
-// StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
-// .detectLeakedSqlLiteObjects()
-// .detectLeakedClosableObjects()
-// .penaltyLog()
-// .penaltyDeath()
-// .build());
+ StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()
+ .detectDiskReads()
+ .detectDiskWrites()
+ .detectNetwork() // or .detectAll() for all detectable problems
+ .penaltyLog()
+ .build());
+ StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
+ .detectLeakedSqlLiteObjects()
+ .detectLeakedClosableObjects()
+ .penaltyLog()
+ .penaltyDeath()
+ .build());
}
}