mirror of https://github.com/M66B/FairEmail.git
Leak canary: dump from nav menu
This commit is contained in:
parent
1551b10d0e
commit
00994d6891
|
@ -105,7 +105,7 @@ public class CoalMine {
|
||||||
.objectInspectors(inspectors)
|
.objectInspectors(inspectors)
|
||||||
.build();
|
.build();
|
||||||
LeakCanary.setConfig(config);
|
LeakCanary.setConfig(config);
|
||||||
LeakCanary.INSTANCE.showLeakDisplayActivityLauncherIcon(false);
|
LeakCanary.INSTANCE.showLeakDisplayActivityLauncherIcon(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void check() {
|
static void check() {
|
||||||
|
|
|
@ -855,10 +855,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
}, new Callable<Boolean>() {
|
}, new Callable<Boolean>() {
|
||||||
@Override
|
@Override
|
||||||
public Boolean call() {
|
public Boolean call() {
|
||||||
Intent canary = CoalMine.getIntent();
|
CoalMine.check();
|
||||||
if (canary != null)
|
return true;
|
||||||
startActivity(canary);
|
|
||||||
return (canary != null);
|
|
||||||
}
|
}
|
||||||
}).setExternal(true));
|
}).setExternal(true));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue