Leak canary: dump from nav menu

pull/207/head
M66B 3 years ago
parent 1551b10d0e
commit 00994d6891

@ -105,7 +105,7 @@ public class CoalMine {
.objectInspectors(inspectors)
.build();
LeakCanary.setConfig(config);
LeakCanary.INSTANCE.showLeakDisplayActivityLauncherIcon(false);
LeakCanary.INSTANCE.showLeakDisplayActivityLauncherIcon(true);
}
static void check() {

@ -855,10 +855,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
}, new Callable<Boolean>() {
@Override
public Boolean call() {
Intent canary = CoalMine.getIntent();
if (canary != null)
startActivity(canary);
return (canary != null);
CoalMine.check();
return true;
}
}).setExternal(true));

Loading…
Cancel
Save