commit | 8710ea13c13aa22f82cdcb0fc461ed4cd8b2aa63 | [log] [tgz] |
---|---|---|
author | Abodunrinwa Toki <toki@google.com> | Tue Jan 24 10:34:13 2017 -0800 |
committer | Abodunrinwa Toki <toki@google.com> | Tue Feb 07 16:14:56 2017 +0000 |
tree | 3f341213361cb8e3e242e6b29a2b42ad7c8230ff | |
parent | 7b6bcb6005c7e1d4b6ad1fec43e9e2dfad86663f [diff] |
start/invalidate selection actionMode asynchronously Text selection is now started/updated using AsyncTasks that first get a result from the TextClassifier before actually starting/invalidating the actionMode on the UI thread with the result. Bug: 34778899 Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t android.widget.cts.TextViewTest#testSmartSelection Change-Id: Ie7eda04bb64335744d88b8874363d46af4f94742