mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Created switches for disabling alpha/beta testing code.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package org.briarproject.android;
|
||||
|
||||
import static java.util.logging.Level.INFO;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
interface TestingConstants {
|
||||
|
||||
/** Default log level - this should be OFF for release builds. */
|
||||
Level DEFAULT_LOG_LEVEL = INFO;
|
||||
|
||||
/**
|
||||
* Whether to prevent screenshots from being taken. This should be true for
|
||||
* release builds, to prevent Recent Apps from storing screenshots of
|
||||
* private information. Unfortunately this also prevents the user from
|
||||
* taking screenshots intentionally.
|
||||
*/
|
||||
boolean PREVENT_SCREENSHOTS = false;
|
||||
|
||||
/**
|
||||
* Whether to allow TestingActivity to be launched from SettingsActivity.
|
||||
* This should be false for release builds.
|
||||
*/
|
||||
boolean SHOW_TESTING_ACTIVITY = true;
|
||||
}
|
||||
Reference in New Issue
Block a user