OSDN Git Service

Remove selection on nonselectable text (which would be there if a user tapped Linkifi...
authorRichard Ledley <rledley@google.com>
Mon, 5 Feb 2018 14:55:47 +0000 (14:55 +0000)
committerRichard Ledley <rledley@google.com>
Tue, 6 Feb 2018 18:09:49 +0000 (18:09 +0000)
commit5f2f820c81633beaddc32692b70e480737cdc5c1
treeb56d5e7f6f1dd3d6a8a4f09b2735878e4fdeb79c
parent9d3986bdc3b9fe5a85a54bf6a4f787e198eade40
Remove selection on nonselectable text (which would be there if a user tapped Linkified text) if a TextView loses focus.

Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest

Bug: 67629726
Change-Id: Ifc3039f0c814c422b2d727f837ca9c88abc2ebe8
core/java/android/widget/Editor.java
core/tests/coretests/res/layout/activity_text_view.xml
core/tests/coretests/src/android/widget/TextViewActivityTest.java