Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a366690d authored by Yo Chiang's avatar Yo Chiang
Browse files

Remove feature flag "settings_dynamic_system"

Bug: 176795908
Test: Presubmit
Test: DSULoader
Change-Id: Ib6b450489c63913c47858cf295e4785fd5d0cfbb
parent bfcb1dc2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ package com.android.settings.core;
 */
public class FeatureFlags {
    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 WIFI_DETAILS_DATAUSAGE_HEADER =
            "settings_wifi_details_datausage_header";
+0 −3
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@ import javax.net.ssl.HttpsURLConnection;
 * also offers the flexibility to overwrite the default setting and load OEMs owned images.
 */
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_OS_BASE = 10;

@@ -344,7 +342,6 @@ public class DSULoader extends ListActivity {
    @Override
    protected void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        SystemProperties.set(PROPERTY_KEY_FEATURE_FLAG, "1");
        String dsuList = SystemProperties.get(PROPERTY_KEY_LIST);
        Slog.e(TAG, "Try to get DSU list from: " + PROPERTY_KEY_LIST);
        if (dsuList == null || dsuList.isEmpty()) {
+0 −1
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@ public class FeatureFlagPersistent {
    static {
        PERSISTENT_FLAGS = new HashSet<>();
        PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
        PERSISTENT_FLAGS.add(FeatureFlags.DYNAMIC_SYSTEM);
    }

    public static boolean isEnabled(Context context, String feature) {