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

Commit 25f2a588 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Assign redo action to Ctrl+Y shortcut"

parents d6162bab 96bedec8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -11956,6 +11956,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                        return onTextContextMenuItem(ID_PASTE);
                    }
                    break;
                case KeyEvent.KEYCODE_Y:
                    if (canRedo()) {
                        return onTextContextMenuItem(ID_REDO);
                    }
                    break;
            }
        } else if (event.hasModifiers(KeyEvent.META_CTRL_ON | KeyEvent.META_SHIFT_ON)) {
            // Handle Ctrl-Shift shortcuts.