summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWilson Wu <wilsonwu@google.com>2020-07-21 18:15:06 +0800
committerWilson Wu <wilsonwu@google.com>2020-09-18 14:00:17 +0800
commit93cdaafcb9d9268b87185ce72dea6e9ec4ef1abf (patch)
tree5d459d3342c0f42352e2b13742b06acf39fb0c50 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent214c89d2048d06c6a24ff781e2a8c0058105ac40 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions