Revert "Change the visibility of Config to be public, so it can be accessed from"

This reverts commit a618596be5.

Reason for revert: After discussing with tweek@, he pointed out that this may result in a slippery slope where the code may be tested in CTS instead of the device (https://screenshot.googleplex.com/BJZVK4FfXkWB2Rw).

Change-Id: Ic020cb98049c861947ac431c4b3761084e66073e
This commit is contained in:
Bessie Jiang 2024-11-05 11:42:26 +00:00 • committed by Gerrit Code Review
commit a4983fd628

View file

@ -22,7 +22,7 @@ import com.android.net.module.util.DeviceConfigUtils;
import java.io.File;
/** Class holding the constants used by the CT feature. */
public final class Config {
final class Config {
static final boolean DEBUG = false;
@ -34,7 +34,7 @@ public final class Config {
static final File PREFERENCES_FILE = new File(DEVICE_PROTECTED_DATA_DIR, PREFERENCES_FILE_NAME);
// CT directory
public static final String CT_ROOT_DIRECTORY_PATH = "/data/misc/keychain/ct/";
static final String CT_ROOT_DIRECTORY_PATH = "/data/misc/keychain/ct/";
static final String COMPATIBILITY_VERSION = "v1";
// Phenotype flags