Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada88b36 authored by Clara Bayarri's avatar Clara Bayarri
Browse files

Keyboard Shortcuts Helper: Use App name for default group

Change-Id: I802dd6c9dcc838b9f06b29b99dc47dd93634d98b
parent 37f153b4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1688,7 +1688,8 @@ public class Activity extends ContextThemeWrapper
            final char alphaShortcut = item.getAlphabeticShortcut();
            if (title != null && alphaShortcut != MIN_VALUE) {
                if (group == null) {
                    group = new KeyboardShortcutGroup(null /* no label */);
                    final int resource = mApplication.getApplicationInfo().labelRes;
                    group = new KeyboardShortcutGroup(resource != 0 ? getString(resource) : null);
                }
                group.addItem(new KeyboardShortcutInfo(
                    title, alphaShortcut, KeyEvent.META_CTRL_ON));