Merge "Show drag handles after finishing batch edit if needed." into nyc-dev am: be1cd9f5ce
am: 5496ec1875
* commit '5496ec18757e5ad6e580a2ed687dda7cbee6cb53':
Show drag handles after finishing batch edit if needed.
Change-Id: I166095155e17b1e57c92782a9af786596723d22d
This commit is contained in:
@@ -1465,6 +1465,16 @@ public class Editor {
|
||||
// sendUpdateSelection knows to avoid sending if the selection did
|
||||
// not actually change.
|
||||
sendUpdateSelection();
|
||||
|
||||
// Show drag handles if they were blocked by batch edit mode.
|
||||
if (mTextActionMode != null) {
|
||||
final CursorController cursorController = mTextView.hasSelection() ?
|
||||
getSelectionController() : getInsertionController();
|
||||
if (cursorController != null && !cursorController.isActive()
|
||||
&& !cursorController.isCursorBeingModified()) {
|
||||
cursorController.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static final int EXTRACT_NOTHING = -2;
|
||||
|
||||
Reference in New Issue
Block a user