am bde00321: am 28b5b144: Fix: Selection handles are wrongly shown.

* commit 'bde0032125e9e8199502e38c81cf2d47d2c0811c':
  Fix: Selection handles are wrongly shown.
This commit is contained in:
Keisuke Kuroyanagi
2015-04-27 12:50:49 +00:00
committed by Android Git Automerger

View File

@@ -3023,8 +3023,10 @@ public class Editor {
public SelectionActionModeCallback() {
SelectionModifierCursorController selectionController = getSelectionController();
if (selectionController.mStartHandle == null) {
// As these are for initializing selectionController, hide() must be called.
selectionController.initDrawables();
selectionController.initHandles();
selectionController.hide();
}
mSelectionHandleHeight = Math.max(
mSelectHandleLeft.getMinimumHeight(), mSelectHandleRight.getMinimumHeight());