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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user