Support accessibility shorcut secondary action (4/n)
Replace metrics constants of different edit dialogs. Bug: 142531156 Test: Maunal Change-Id: I52b3d481d815edab17b954283ae5e366723a842c
This commit is contained in:
@@ -145,8 +145,7 @@ public final class ToggleDaltonizerPreferenceFragment extends ToggleFeaturePrefe
|
||||
@Override
|
||||
public int getDialogMetricsCategory(int dialogId) {
|
||||
if (dialogId == DIALOG_ID_EDIT_SHORTCUT) {
|
||||
return SettingsEnums.ACCESSIBILITY_TOGGLE_DALTONIZER;
|
||||
// TODO(b/142531156): Create a settings enum to replace it.
|
||||
return SettingsEnums.DIALOG_DALTONIZER_EDIT_SHORTCUT;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user