[Flag cleanup] remove separate_accessibility_vibration_settings_fragments
This bug fix associated with this flag is low risk. The flag has been soaked in the Trunkfood full for 30 days and tested by 1000+ users. Based on the flag cleanup policy, we can clean up the flag. Bug: 289967175 Flag: EXEMPT flag cleanup Test: Run the Settings app and can still see the vibration & haptics screen Change-Id: I39890a33f04b53565461ae2c6c4e63b94f205e6d
This commit is contained in:
@@ -29,7 +29,6 @@ import androidx.preference.Preference;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.core.BasePreferenceController;
|
||||
import com.android.settings.core.SubSettingLauncher;
|
||||
import com.android.settings.flags.Flags;
|
||||
|
||||
/** Controller for "Vibration & haptics" settings page. */
|
||||
public class VibrationPreferenceController extends BasePreferenceController {
|
||||
@@ -66,8 +65,7 @@ public class VibrationPreferenceController extends BasePreferenceController {
|
||||
|
||||
@Override
|
||||
public boolean handlePreferenceTreeClick(Preference preference) {
|
||||
if (Flags.separateAccessibilityVibrationSettingsFragments()
|
||||
&& TextUtils.equals(preference.getKey(), getPreferenceKey())) {
|
||||
if (TextUtils.equals(preference.getKey(), getPreferenceKey())) {
|
||||
if (mContext.getResources().getInteger(
|
||||
R.integer.config_vibration_supported_intensity_levels) > 1) {
|
||||
launchVibrationSettingsFragment(VibrationIntensitySettingsFragment.class);
|
||||
|
||||
Reference in New Issue
Block a user