merge from open-source master
Change-Id: I970684d917ea2024871b45abe532c52bb45673c6
This commit is contained in:
@@ -4547,6 +4547,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
outText.text = TextUtils.substring(content, partialStartOffset,
|
outText.text = TextUtils.substring(content, partialStartOffset,
|
||||||
partialEndOffset);
|
partialEndOffset);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
outText.partialStartOffset = 0;
|
||||||
|
outText.partialEndOffset = 0;
|
||||||
|
outText.text = "";
|
||||||
}
|
}
|
||||||
outText.flags = 0;
|
outText.flags = 0;
|
||||||
if (MetaKeyKeyListener.getMetaState(mText, MetaKeyKeyListener.META_SELECTING) != 0) {
|
if (MetaKeyKeyListener.getMetaState(mText, MetaKeyKeyListener.META_SELECTING) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user