mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
27 lines
706 B
Java
27 lines
706 B
Java
package org.briarproject.android;
|
|
|
|
import java.util.logging.Level;
|
|
|
|
import static java.util.logging.Level.INFO;
|
|
import static java.util.logging.Level.OFF;
|
|
|
|
public interface TestingConstants {
|
|
|
|
/**
|
|
* Whether this is an alpha or beta build. This should be set to false for
|
|
* release builds.
|
|
*/
|
|
boolean TESTING = true;
|
|
|
|
/** Default log level. */
|
|
Level DEFAULT_LOG_LEVEL = TESTING ? INFO : OFF;
|
|
|
|
/**
|
|
* Whether to prevent screenshots from being taken. Setting this to true
|
|
* prevents Recent Apps from storing screenshots of private information.
|
|
* Unfortunately this also prevents the user from taking screenshots
|
|
* intentionally.
|
|
*/
|
|
boolean PREVENT_SCREENSHOTS = TESTING ? false : true;
|
|
}
|