From 8a6b3644be94e2b7ed226eb5b9ba48bfd3f026c7 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 29 Jan 2020 22:16:53 +0800 Subject: [PATCH] Strip only debug and verbose logging --- app/proguard-rules.pro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index ffd9b7b84..ea652b112 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -32,8 +32,11 @@ # BaseWorkerWrapper -keep,allowobfuscation class * extends com.topjohnwu.magisk.core.base.BaseWorkerWrapper -# Strip logging --assumenosideeffects class timber.log.Timber.Tree { *; } +# Strip Timber verbose and debug logging +-assumenosideeffects class timber.log.Timber.Tree { + public void v(**); + public void d(**); +} # Excessive obfuscation -repackageclasses a