summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2024-09-11 12:36:34 -0400
committer Miranda Kephart <mkephart@google.com> 2024-09-20 10:17:22 -0400
commitbf2bd0a6f96f04d5e5fcb39638a1fa56480c7644 (patch)
tree04b895b2d502b4cfcf555967bdd5b6245bd97d0b /libs/androidfw/StringPool.cpp
parent08d832de9e180176550aa74ba0121048ba2d5231 (diff)
Read clipboard item mimetype from description
Currently we construct the clipboard model by calling contentResolver.getType on the main thread, which can cause problems because that call can hang. This change switches to reading the mimeType set in the clip description instead (which should be set correctly per-item). Bug: 357197236 Flag: com.android.systemui.clipboard_use_description_mimetype Test: manual with flag on/off, atest ClipboardModelTest Change-Id: I78550105f9c4f9b3ee1cf69a732b075397cdf4ac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions