Hide the insertion handle when performing a paste

Make behavior uniform with other apps on Android,
where after a paste from an editable field, the
insertion handle is hidden and only the cursor
remains visible.

BUG=395645

Review URL: https://codereview.chromium.org/403343004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284480 0039d316-1c4b-4281-b951-d872f2087c98
parent 6b13ba3b
...@@ -156,6 +156,7 @@ public class SelectActionModeCallback implements ActionMode.Callback { ...@@ -156,6 +156,7 @@ public class SelectActionModeCallback implements ActionMode.Callback {
mode.finish(); mode.finish();
} else if (id == R.id.select_action_menu_paste) { } else if (id == R.id.select_action_menu_paste) {
mActionHandler.paste(); mActionHandler.paste();
mode.finish();
} else if (id == R.id.select_action_menu_share) { } else if (id == R.id.select_action_menu_share) {
mActionHandler.share(); mActionHandler.share();
mode.finish(); mode.finish();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment