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)
|
||||
.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…
Reference in New Issue