am faf9a783: merge from open-source master
Merge commit 'faf9a78363b0c773b95c9b43263d788aee313054' into kraken * commit 'faf9a78363b0c773b95c9b43263d788aee313054': Text disappears when selecting text in text editor.
This commit is contained in:
committed by
Android Git Automerger
commit
b39b0f32d1
@@ -4547,6 +4547,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
outText.text = TextUtils.substring(content, partialStartOffset,
|
||||
partialEndOffset);
|
||||
}
|
||||
} else {
|
||||
outText.partialStartOffset = 0;
|
||||
outText.partialEndOffset = 0;
|
||||
outText.text = "";
|
||||
}
|
||||
outText.flags = 0;
|
||||
if (MetaKeyKeyListener.getMetaState(mText, MetaKeyKeyListener.META_SELECTING) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user