Improve logs stripping test (#1443)
This change avoids false-positives in clients
This commit is contained in:
parent
652487e563
commit
1833e866a7
|
@ -743,7 +743,7 @@ private fun validateAlias(alias: String) {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun validateLogging() {
|
private fun validateLogging() {
|
||||||
if (!BuildConfig.DEBUG) {
|
if (BuildConfig.BUILD_TYPE == "release") {
|
||||||
// In release builds, logs should be stripped by R8 rules
|
// In release builds, logs should be stripped by R8 rules
|
||||||
Twig.assertLoggingStripped()
|
Twig.assertLoggingStripped()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue