remove leakcanary: only covers JVM code and didn't report a single memory leak in the last 2-3 years.
reduce strictmode penalty log categories to those that are actually useful:
2.1 slow calls: slow code paths on UiThread
2.2 potential leaks: closable objects and activity context
Also interesting when building for targetSdk > 28 is add nonsdk usage. We're clear ATM (targetSdk:30). Device drivers using reflection might trigger some logs but those need to be handled at the system/firmware level.
Changes in debug buildvariant
FWIW: I use this paired with the removal of https://github.com/koreader/koreader/blob/master/platform/android/llapp_main.lua#L24-L25 to test platform changes locally.
Also interesting when building for targetSdk > 28 is add nonsdk usage. We're clear ATM (targetSdk:30). Device drivers using reflection might trigger some logs but those need to be handled at the system/firmware level.
This change is