mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
Set TESTING from BuildConfig
Signed-off-by: goapunk <noobie@goapunks.net>
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package org.briarproject.briar.android;
|
package org.briarproject.briar.android;
|
||||||
|
|
||||||
|
import org.briarproject.briar.BuildConfig;
|
||||||
|
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import static java.util.logging.Level.INFO;
|
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
|
* Whether this is an alpha or beta build. This should be set to false for
|
||||||
* release builds.
|
* release builds.
|
||||||
*/
|
*/
|
||||||
boolean TESTING = true;
|
boolean TESTING = BuildConfig.DEBUG;
|
||||||
|
|
||||||
/** Default log level. */
|
/** Default log level. */
|
||||||
Level DEFAULT_LOG_LEVEL = TESTING ? INFO : OFF;
|
Level DEFAULT_LOG_LEVEL = TESTING ? INFO : OFF;
|
||||||
|
|||||||
Reference in New Issue
Block a user