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

Commit 676698a3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix menu item index in toolbar during transformation" into main

parents a122bb2d 8896504d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1293,6 +1293,7 @@ public final class RemoteSelectionToolbar {

                    newMenuItem.groupId = menuItem.groupId;
                    newMenuItem.priority = menuItem.priority;
                    newMenuItem.itemIndex = menuItem.itemIndex;

                    newMenuItem.itemId = android.R.id.paste;
                    newMenuItem.title = context.getString(R.string.paste);
@@ -1305,6 +1306,7 @@ public final class RemoteSelectionToolbar {

                    newMenuItem.groupId = menuItem.groupId;
                    newMenuItem.priority = menuItem.priority;
                    newMenuItem.itemIndex = menuItem.itemIndex;

                    newMenuItem.itemId = android.R.id.pasteAsPlainText;
                    newMenuItem.title = context.getString(R.string.paste_as_plain_text);