Skip to content

Commit

Permalink
Hide the insertion handle when performing a Cut
Browse files Browse the repository at this point in the history
Make behavior uniform with other apps on Android,
where after a Cut from an editable field, the 
insertion handle is hidden and only the cursor
remains visible.
https://codereview.chromium.org/394953005/

BUG:394781

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284138 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
sayan.nayak@samsung.com committed Jul 18, 2014
1 parent 8d94c76 commit f2c05bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ Sanjoy Pal <sanjoy.pal@samsung.com>
Sanne Wouda <sanne.wouda@gmail.com>
Sathish Kuppuswamy <sathish.kuppuswamy@intel.com>
Satoshi Matsuzaki <satoshi.matsuzaki@gmail.com>
Sayan Nayak <sayan.nayak@samsung.com>
Scott Blomquist <sblom@microsoft.com>
Sean Bryant <sean@cyberwang.net>
Seo Sanghyeon <sanxiyn@gmail.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
mActionHandler.selectAll();
} else if (id == R.id.select_action_menu_cut) {
mActionHandler.cut();
mode.finish();
} else if (id == R.id.select_action_menu_copy) {
mActionHandler.copy();
mode.finish();
Expand Down

0 comments on commit f2c05bd

Please sign in to comment.