summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Matt Casey <mrcasey@google.com> 2022-09-13 21:08:40 +0000
committer Matt Casey <mrcasey@google.com> 2022-09-19 20:31:21 +0000
commit1e52fddd4b6f7d37dc32f34780206a3139f68fba (patch)
tree7c8964c265e9ae4213bf39483e600ce634fdebd4 /libs/androidfw/StringPool.cpp
parentde117f20ffd67c2aa554ef6772d272ad018d8a0c (diff)
Fix MIME type of non-plain text share intents
Previously we piped the MIME type to sharesheet, which was incorrect. Also switch to ClipData.Item's coerceToText() method to avoid NPE when getText() is null. Also pull all the intent creation code into its own class, test it. Bug: 243447863 Bug: 236932369 Bug: 222640396 Test: atest IntentCreatorTest Test: Share text copied from Chrome, note that the full correct app list comes up. Change-Id: Ia438a40423f518275fcd8a09f7de23c511b116fa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions