From 19f93889a33b0f524722f13ee9c573c56207ca6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20P=C3=B3=C5=82grabia?= Date: Sat, 17 Sep 2016 18:26:51 +0200 Subject: [PATCH] Release mode. --- .../main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java index 49a3ac7..7147607 100644 --- a/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java +++ b/app/src/main/java/pl/tpolgrabia/urbanexplorer/MainActivity.java @@ -90,7 +90,7 @@ public class MainActivity extends ActionBarActivity { super.onCreate(savedInstanceState); lg.trace("onCreate"); setContentView(R.layout.activity_main); - AQUtility.setDebug(true); + AQUtility.setDebug(false); NetUtils.setGlobalProxyAuth(this); @@ -114,8 +114,7 @@ public class MainActivity extends ActionBarActivity { gestureDetector = new GestureDetectorCompat(this, swipeHandler); locationCallback = new StandardLocationListener(); initLocalication(); - Fabric fabric = new Fabric.Builder(this).debuggable(true).kits(new Crashlytics()).build(); - Fabric.with(fabric); + Fabric.with(this, new Crashlytics()); Integer fragId = savedInstanceState != null ? savedInstanceState.getInt(FRAG_ID) : null; lg.trace("Restored orig frag id: {}", fragId);