Loading packages/SystemUI/src/com/android/systemui/keyboard/shortcut/data/repository/CustomShortcutCategoriesRepository.kt +2 −2 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ constructor( private fun fetchGroupLabelByGestureType( @KeyGestureEvent.KeyGestureType keyGestureType: Int ): String? { InputGestures.gestureToInternalKeyboardShortcutGroupLabelMap[keyGestureType]?.let { InputGestures.gestureToInternalKeyboardShortcutGroupLabelResIdMap[keyGestureType]?.let { return context.getString(it) } ?: return null } Loading @@ -156,7 +156,7 @@ constructor( private fun fetchShortcutInfoLabelByGestureType( @KeyGestureEvent.KeyGestureType keyGestureType: Int ): String? { InputGestures.gestureToInternalKeyboardShortcutInfoLabelMap[keyGestureType]?.let { InputGestures.gestureToInternalKeyboardShortcutInfoLabelResIdMap[keyGestureType]?.let { return context.getString(it) } ?: return null } Loading packages/SystemUI/src/com/android/systemui/keyboard/shortcut/data/repository/InputGestures.kt +2 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ object InputGestures { KEY_GESTURE_TYPE_LAUNCH_DEFAULT_MESSAGING to AppCategories, ) val gestureToInternalKeyboardShortcutGroupLabelMap = val gestureToInternalKeyboardShortcutGroupLabelResIdMap = mapOf( // System Category KEY_GESTURE_TYPE_HOME to R.string.shortcut_helper_category_system_controls, Loading Loading @@ -129,7 +129,7 @@ object InputGestures { R.string.keyboard_shortcut_group_applications, ) val gestureToInternalKeyboardShortcutInfoLabelMap = val gestureToInternalKeyboardShortcutInfoLabelResIdMap = mapOf( // System Category KEY_GESTURE_TYPE_HOME to R.string.group_system_access_home_screen, Loading Loading
packages/SystemUI/src/com/android/systemui/keyboard/shortcut/data/repository/CustomShortcutCategoriesRepository.kt +2 −2 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ constructor( private fun fetchGroupLabelByGestureType( @KeyGestureEvent.KeyGestureType keyGestureType: Int ): String? { InputGestures.gestureToInternalKeyboardShortcutGroupLabelMap[keyGestureType]?.let { InputGestures.gestureToInternalKeyboardShortcutGroupLabelResIdMap[keyGestureType]?.let { return context.getString(it) } ?: return null } Loading @@ -156,7 +156,7 @@ constructor( private fun fetchShortcutInfoLabelByGestureType( @KeyGestureEvent.KeyGestureType keyGestureType: Int ): String? { InputGestures.gestureToInternalKeyboardShortcutInfoLabelMap[keyGestureType]?.let { InputGestures.gestureToInternalKeyboardShortcutInfoLabelResIdMap[keyGestureType]?.let { return context.getString(it) } ?: return null } Loading
packages/SystemUI/src/com/android/systemui/keyboard/shortcut/data/repository/InputGestures.kt +2 −2 Original line number Diff line number Diff line Loading @@ -81,7 +81,7 @@ object InputGestures { KEY_GESTURE_TYPE_LAUNCH_DEFAULT_MESSAGING to AppCategories, ) val gestureToInternalKeyboardShortcutGroupLabelMap = val gestureToInternalKeyboardShortcutGroupLabelResIdMap = mapOf( // System Category KEY_GESTURE_TYPE_HOME to R.string.shortcut_helper_category_system_controls, Loading Loading @@ -129,7 +129,7 @@ object InputGestures { R.string.keyboard_shortcut_group_applications, ) val gestureToInternalKeyboardShortcutInfoLabelMap = val gestureToInternalKeyboardShortcutInfoLabelResIdMap = mapOf( // System Category KEY_GESTURE_TYPE_HOME to R.string.group_system_access_home_screen, Loading