[Fix]忽略系统so的监控,暂时解决KOOM崩溃的问题

This commit is contained in:
chenfufeng
2022-09-19 19:25:40 +08:00
parent d4937769f9
commit 1742d3e824

View File

@@ -304,7 +304,8 @@ public class MainActivity extends MvpActivity<MainView, MainPresenter> implement
.setLoopInterval(50000)
.setMonitorThreshold(16)
.setNativeHeapAllocatedThreshold(0)
.setEnableLocalSymbolic(true)
.setIgnoredSoList(new String[]{"libart", "libc"})
.setEnableLocalSymbolic(BuildConfig.DEBUG)
.setLeakListener(leaks -> {
StringBuilder stringBuilder = new StringBuilder();
if (!leaks.isEmpty()) {