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

Commit e37f265f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused logic"

parents 94cd62ff 4607306c
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -17,8 +17,6 @@
package com.android.settings.development.featureflags;

import android.content.Context;
import android.provider.Settings;
import android.text.TextUtils;
import android.util.FeatureFlagUtils;

import androidx.preference.SwitchPreference;
@@ -51,13 +49,5 @@ public class FeatureFlagPreference extends SwitchPreference {
        } else {
            FeatureFlagUtils.setEnabled(getContext(), mKey, isChecked);
        }

        // A temporary logic for settings_hide_second_layer_page_navigate_up_button_in_two_pane
        // Remove it before Android T release.
        if (TextUtils.equals(mKey,
                FeatureFlagUtils.SETTINGS_HIDE_SECOND_LAYER_PAGE_NAVIGATE_UP_BUTTON_IN_TWO_PANE)) {
            Settings.Global.putString(getContext().getContentResolver(),
                    mKey, String.valueOf(isChecked));
        }
    }
}