diff --git a/packages/SystemUI/res/layout/keyboard_shortcuts_key_view.xml b/packages/SystemUI/res/layout/keyboard_shortcuts_key_view.xml index 31a87730a445e..9b5e0c893b2e1 100644 --- a/packages/SystemUI/res/layout/keyboard_shortcuts_key_view.xml +++ b/packages/SystemUI/res/layout/keyboard_shortcuts_key_view.xml @@ -23,4 +23,5 @@ android:textColor="@color/ksh_key_item_color" android:singleLine="true" android:gravity="center" - android:textSize="@dimen/ksh_item_text_size"/> + android:textSize="@dimen/ksh_item_text_size" + android:textAllCaps="true" /> diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java index d845121c6e991..461a03b67a2ea 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java @@ -697,7 +697,7 @@ public final class KeyboardShortcuts { if (displayLabelDrawable != null) { shortcutKeys.add(new StringOrDrawable(displayLabelDrawable)); } else if (displayLabelString != null) { - shortcutKeys.add(new StringOrDrawable(displayLabelString.toUpperCase())); + shortcutKeys.add(new StringOrDrawable(displayLabelString)); } return shortcutKeys; } @@ -716,7 +716,7 @@ public final class KeyboardShortcuts { mModifierDrawables.get(supportedModifier))); } else { shortcutKeys.add(new StringOrDrawable( - mModifierNames.get(supportedModifier).toUpperCase())); + mModifierNames.get(supportedModifier))); } modifiers &= ~supportedModifier; }