Release mode.

master
Tomasz Półgrabia 2016-09-17 18:26:51 +02:00
parent 231aefd1b8
commit 19f93889a3
1 changed files with 2 additions and 3 deletions

View File

@ -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);