Remove leakcanary
This commit is contained in:
parent
6ad7e30d5d
commit
ca0cd3e1b1
@ -87,9 +87,6 @@ dependencies {
|
|||||||
compile 'com.google.android.gms:play-services-base:8.4.0'
|
compile 'com.google.android.gms:play-services-base:8.4.0'
|
||||||
compile 'com.google.android.gms:play-services-analytics:8.4.0'
|
compile 'com.google.android.gms:play-services-analytics:8.4.0'
|
||||||
compile(name: 'plotter', ext: 'aar')
|
compile(name: 'plotter', ext: 'aar')
|
||||||
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
|
|
||||||
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
|
|
||||||
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
|
|
||||||
compile 'org.solovyev:common-text:1.0.7'
|
compile 'org.solovyev:common-text:1.0.7'
|
||||||
compile 'org.solovyev:common-listeners:1.0.7'
|
compile 'org.solovyev:common-listeners:1.0.7'
|
||||||
compile('com.google.guava:guava:11.0.2') {
|
compile('com.google.guava:guava:11.0.2') {
|
||||||
|
@ -27,26 +27,29 @@ import android.os.Handler;
|
|||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.TimingLogger;
|
import android.util.TimingLogger;
|
||||||
import com.squareup.leakcanary.LeakCanary;
|
|
||||||
import com.squareup.otto.Bus;
|
import com.squareup.otto.Bus;
|
||||||
import jscl.MathEngine;
|
|
||||||
import org.acra.ACRA;
|
import org.acra.ACRA;
|
||||||
import org.acra.ACRAConfiguration;
|
import org.acra.ACRAConfiguration;
|
||||||
import org.acra.sender.HttpSender;
|
import org.acra.sender.HttpSender;
|
||||||
import org.solovyev.android.Android;
|
import org.solovyev.android.Android;
|
||||||
|
import org.solovyev.android.calculator.floating.FloatingCalculatorActivity;
|
||||||
import org.solovyev.android.calculator.history.History;
|
import org.solovyev.android.calculator.history.History;
|
||||||
import org.solovyev.android.calculator.language.Language;
|
import org.solovyev.android.calculator.language.Language;
|
||||||
import org.solovyev.android.calculator.language.Languages;
|
import org.solovyev.android.calculator.language.Languages;
|
||||||
import org.solovyev.android.calculator.floating.FloatingCalculatorActivity;
|
|
||||||
import org.solovyev.android.calculator.plot.AndroidCalculatorPlotter;
|
import org.solovyev.android.calculator.plot.AndroidCalculatorPlotter;
|
||||||
import org.solovyev.android.calculator.plot.CalculatorPlotterImpl;
|
import org.solovyev.android.calculator.plot.CalculatorPlotterImpl;
|
||||||
import org.solovyev.common.msg.MessageType;
|
import org.solovyev.common.msg.MessageType;
|
||||||
|
|
||||||
|
import jscl.MathEngine;
|
||||||
|
|
||||||
|
import java.util.Locale;
|
||||||
|
import java.util.concurrent.Executor;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.inject.Named;
|
import javax.inject.Named;
|
||||||
import java.util.Locale;
|
|
||||||
import java.util.concurrent.Executor;
|
|
||||||
|
|
||||||
public class CalculatorApplication extends android.app.Application implements SharedPreferences.OnSharedPreferenceChangeListener {
|
public class CalculatorApplication extends android.app.Application implements SharedPreferences.OnSharedPreferenceChangeListener {
|
||||||
|
|
||||||
@ -177,9 +180,6 @@ public class CalculatorApplication extends android.app.Application implements Sh
|
|||||||
.setFormUriBasicAuthLogin("timbeenterumisideffecird")
|
.setFormUriBasicAuthLogin("timbeenterumisideffecird")
|
||||||
.setFormUriBasicAuthPassword("ECL65PO2TH5quIFNAK4hQ5Ng"));
|
.setFormUriBasicAuthPassword("ECL65PO2TH5quIFNAK4hQ5Ng"));
|
||||||
}
|
}
|
||||||
if (BuildConfig.DEBUG) {
|
|
||||||
LeakCanary.install(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
// then we should set default preferences
|
// then we should set default preferences
|
||||||
Preferences.setDefaultValues(this, preferences);
|
Preferences.setDefaultValues(this, preferences);
|
||||||
|
Loading…
Reference in New Issue
Block a user