mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Merge branch '905_set_testing_constant_on_debug' into 'master'
Set TESTING from BuildConfig Closes #905 See merge request !494
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package org.briarproject.briar.android;
|
||||
|
||||
import org.briarproject.briar.BuildConfig;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import static java.util.logging.Level.INFO;
|
||||
@@ -11,7 +13,7 @@ public interface TestingConstants {
|
||||
* Whether this is an alpha or beta build. This should be set to false for
|
||||
* release builds.
|
||||
*/
|
||||
boolean TESTING = true;
|
||||
boolean TESTING = BuildConfig.DEBUG;
|
||||
|
||||
/** Default log level. */
|
||||
Level DEFAULT_LOG_LEVEL = TESTING ? INFO : OFF;
|
||||
|
||||
Reference in New Issue
Block a user