[android] disable leak canary during instrumentation tests
This commit is contained in:
@@ -40,7 +40,7 @@ public class MapboxApplication extends Application {
|
||||
initializeMapbox();
|
||||
}
|
||||
|
||||
private boolean initializeLeakCanary() {
|
||||
protected boolean initializeLeakCanary() {
|
||||
if (LeakCanary.isInAnalyzerProcess(this)) {
|
||||
// This process is dedicated to LeakCanary for heap analysis.
|
||||
// You should not init your app in this process.
|
||||
|
||||
Reference in New Issue
Block a user