Revert "Change the visibility of Config to be public, so it can be accessed from"
This reverts commit a618596be5ddecb8e5756eb9281c95c07505d62f.
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
diff --git a/networksecurity/service/src/com/android/server/net/ct/Config.java b/networksecurity/service/src/com/android/server/net/ct/Config.java
index 18183ec..242f13a 100644
--- a/networksecurity/service/src/com/android/server/net/ct/Config.java
+++ b/networksecurity/service/src/com/android/server/net/ct/Config.java
@@ -22,7 +22,7 @@
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 @@
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