Removes hearing aids settings page flag
The hearing aids settings page has successfully rolled out. Cleans up the codes that are related to flag controls. Bug: 310203155 Test: atest AccessibilityHearingAidPreferenceControllerTest Test: atest AccessibilityDetailsSettingsFragmentTest Test: atest BluetoothDetailsHearingDeviceControlsControllerTest Change-Id: Ib03952f734302cca8519cb1c70ba82601cb75527
This commit is contained in:
@@ -32,7 +32,6 @@ import android.content.pm.ServiceInfo;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.FeatureFlagUtils;
|
||||
import android.util.Log;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
|
||||
@@ -112,9 +111,7 @@ public class AccessibilityDetailsSettingsFragment extends InstrumentedFragment {
|
||||
return new LaunchFragmentArguments(destination, /* arguments= */ null);
|
||||
}
|
||||
|
||||
if (ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.equals(componentName)
|
||||
&& FeatureFlagUtils.isEnabled(getContext(),
|
||||
FeatureFlagUtils.SETTINGS_ACCESSIBILITY_HEARING_AID_PAGE)) {
|
||||
if (ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.equals(componentName)) {
|
||||
final String destination = AccessibilityHearingAidsFragment.class.getName();
|
||||
return new LaunchFragmentArguments(destination, /* arguments= */ null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user