Skip to content
Snippets Groups Projects
Commit 25743549 authored by akwizgran's avatar akwizgran
Browse files

Merge branch '905_set_testing_constant_on_debug' into 'master'

Set TESTING from BuildConfig

Closes #905

See merge request !494
parents 1918346a 1c5897f1
No related branches found
No related tags found
No related merge requests found
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment