54d7888316
Release builds normally strip out all logging to reduce the number of disk writes and reduce UI jank. These logs would still be useful in user error reports from orange builds. To preseve them: - Implement a simple `RingBuffer`. - Create `TreeRing`, a `Timber` `Tree` logger that logs to a `RingBuffer` instance in orange release builds. - Create `TreeRingCollector`, called when ACRA reports are generated, which includes the contents of the ring buffer in the report. - Enable desugaring to allow the use of java.time libraries on older Android versions. - Disable ProGuard obfuscation of class names as the obfuscation adds additional de-obfuscation steps when handling error reports from users. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
gitTools.gradle | ||
lint-baseline.xml | ||
lint.xml | ||
proguard-rules.pro |