Merge "Clarify hasSelection description"

This commit is contained in:
Hans Boehm
2019-03-28 22:21:00 +00:00
committed by Gerrit Code Review

View File

@@ -9420,7 +9420,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
} }
/** /**
* Return true iff there is a selection inside this text view. * Return true iff there is a selection of nonzero length inside this text view.
*/ */
public boolean hasSelection() { public boolean hasSelection() {
final int selectionStart = getSelectionStart(); final int selectionStart = getSelectionStart();