Files
frameworks_base/core/java/android/view
Wilson Wu 93cdaafcb9 Refine the surrounding text copy logic
Our CL [1] used to copy the original surrounding text
in case the text is updated unexpectedly before the
surrounding text retrieval.

Refine the copy logic by:
-. Move copy action to the InitialSurroundingText constructor
-. Apply a deep copy with parcelable, it also avoid the text
   span is updated later

[1] I6082a4cae2fcdc4c529dc14e2e5e7a45ab1aae4d

Bug: 160390184
Fixes: 163176179
Test: atest FrameworksCoreTests:EditorInfoTest
Test: atest CtsInputMethodTestCases:EditorInfoTest
Change-Id: I75edcf6046467f2776d62bb38137f9d15dbfab52
2020-09-18 14:00:17 +08:00
..
2020-05-18 13:56:09 -04:00
2020-07-24 22:03:51 +00:00
2020-04-20 15:07:59 +00:00
…
2020-07-30 08:54:03 -07:00
2020-05-04 11:41:13 +08:00