summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorSiyamed Sinir <siyamed@google.com>2017-07-18 18:54:31 -0700
committerSiyamed Sinir <siyamed@google.com>2017-07-20 15:01:18 -0700
commitce3b05abc0291015d31c76ec57cb5b5a163acb7a (patch)
treef31dc7012b006e7db9ba41b61ee50a9abe1b3667 /docs/html/sdk/api_diff/22/changes
parent417510bd3b1feb22e359633af925373f491b54ec (diff)
Handle long text for share/cut/copy operations.
When TextView or EditText contains text that is larger than the total parcelable limit, some of the FloatingToolbar operations would crash. This CL changes the behavior as follows: - Show a toast message if cut or copy operation fails because it cannot set the primary clip. - Trim the text for share and process_text actions - A simple app with an EditText and a long text in it, would not open since Autofill value was being sent over IPC. Trimmed the text that is sent for Autofill feature. - Trim the value send to accessibility services Test: bit CtsWidgetTestCases:.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewTest Test: bit FrameworksCoreTests:android.text.TextUtilsTest Test: Manual sample app test Bug: 8013261 Change-Id: Ia0df6b4eb4c13071a1bf75cedac7241c7239663c
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions