Cleanup of deprecated A11y settings functions

Bug: 367414968
Test: atest com.android.settings.accessibility
Flag: EXEMPT cleanup
NO_IFTTT= Change does not alter preference list

Change-Id: I64f5f7fba112b6fb5035b88f01c04d9ee309f2c0
This commit is contained in:
Riley Jones
2025-01-17 00:30:39 +00:00
parent 777378996f
commit 75500c02b2
16 changed files with 45 additions and 631 deletions

View File

@@ -218,22 +218,6 @@ public final class AccessibilityUtil {
return shortcutTypes;
}
/**
* Converts {@link UserShortcutType} to key in Settings.
*
* @param shortcutType The shortcut type.
* @return Mapping key in Settings.
*
* @deprecated use
* {@link ShortcutUtils#convertToKey(int)} instead.
*
* (TODO 367414968: finish removal.)
*/
@Deprecated
static String convertKeyFromSettings(@UserShortcutType int shortcutType) {
return ShortcutUtils.convertToKey(shortcutType);
}
/**
* Gets the width of the screen.
*