Skip to content
Snippets Groups Projects
Forked from briar / briar
4883 commits behind the upstream repository.
TestingConstants.java 706 B
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;
}