summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2023-04-20 12:28:49 -0400
committer Miranda Kephart <mkephart@google.com> 2023-04-20 12:28:49 -0400
commit40e9950ddd890b8d1a3d923367283675b993affa (patch)
tree81349f621cab724f93728c986e8f9087679763e9 /libs/androidfw/ZipFileRO.cpp
parent836d8edaf4e870ed21c80e8eabf559779b5e2fa7 (diff)
Remove text spans from clipboard EditTextActivity display
Casts text from clipboard to a string before displaying it in the clipboard text editor. Some apps use colored text spans to adjust the color of text, which is retained in the clipboard. This will cause us to show text in the wrong color (e.g. black-on-black); in general we don't expect users to want to retain this metadata, so just remove it for editing. Bug: 278826009 Fix: 278826009 Test: manual (visual change) Change-Id: I792f3116d3e0719874132ccb848262fa7c2d62af
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions