Remove feature flag "settings_dynamic_system"
Bug: 176795908 Test: Presubmit Test: DSULoader Change-Id: Ib6b450489c63913c47858cf295e4785fd5d0cfbb
This commit is contained in:
@@ -21,7 +21,6 @@ package com.android.settings.core;
|
|||||||
*/
|
*/
|
||||||
public class FeatureFlags {
|
public class FeatureFlags {
|
||||||
public static final String AUDIO_SWITCHER_SETTINGS = "settings_audio_switcher";
|
public static final String AUDIO_SWITCHER_SETTINGS = "settings_audio_switcher";
|
||||||
public static final String DYNAMIC_SYSTEM = "settings_dynamic_system";
|
|
||||||
public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid";
|
public static final String HEARING_AID_SETTINGS = "settings_bluetooth_hearing_aid";
|
||||||
public static final String WIFI_DETAILS_DATAUSAGE_HEADER =
|
public static final String WIFI_DETAILS_DATAUSAGE_HEADER =
|
||||||
"settings_wifi_details_datausage_header";
|
"settings_wifi_details_datausage_header";
|
||||||
|
@@ -55,8 +55,6 @@ import javax.net.ssl.HttpsURLConnection;
|
|||||||
* also offers the flexibility to overwrite the default setting and load OEMs owned images.
|
* also offers the flexibility to overwrite the default setting and load OEMs owned images.
|
||||||
*/
|
*/
|
||||||
public class DSULoader extends ListActivity {
|
public class DSULoader extends ListActivity {
|
||||||
public static final String PROPERTY_KEY_FEATURE_FLAG =
|
|
||||||
"persist.sys.fflag.override.settings_dynamic_system";
|
|
||||||
private static final int Q_VNDK_BASE = 28;
|
private static final int Q_VNDK_BASE = 28;
|
||||||
private static final int Q_OS_BASE = 10;
|
private static final int Q_OS_BASE = 10;
|
||||||
|
|
||||||
@@ -344,7 +342,6 @@ public class DSULoader extends ListActivity {
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle icicle) {
|
protected void onCreate(Bundle icicle) {
|
||||||
super.onCreate(icicle);
|
super.onCreate(icicle);
|
||||||
SystemProperties.set(PROPERTY_KEY_FEATURE_FLAG, "1");
|
|
||||||
String dsuList = SystemProperties.get(PROPERTY_KEY_LIST);
|
String dsuList = SystemProperties.get(PROPERTY_KEY_LIST);
|
||||||
Slog.e(TAG, "Try to get DSU list from: " + PROPERTY_KEY_LIST);
|
Slog.e(TAG, "Try to get DSU list from: " + PROPERTY_KEY_LIST);
|
||||||
if (dsuList == null || dsuList.isEmpty()) {
|
if (dsuList == null || dsuList.isEmpty()) {
|
||||||
|
@@ -35,7 +35,6 @@ public class FeatureFlagPersistent {
|
|||||||
static {
|
static {
|
||||||
PERSISTENT_FLAGS = new HashSet<>();
|
PERSISTENT_FLAGS = new HashSet<>();
|
||||||
PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
|
PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
|
||||||
PERSISTENT_FLAGS.add(FeatureFlags.DYNAMIC_SYSTEM);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isEnabled(Context context, String feature) {
|
public static boolean isEnabled(Context context, String feature) {
|
||||||
|
Reference in New Issue
Block a user