summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author jeffnainap <jeffnainap@google.com> 2023-03-07 21:31:29 +0000
committer jeffnainap <jeffnainap@google.com> 2023-03-08 00:12:14 +0000
commitc039eebf35580b88cb258332be9fb492437b93fb (patch)
tree7eed84d89bf27c9e0795b67427c642ff7cbcc9db /libs/androidfw/ApkParsing.cpp
parent931859a1a8e73fde0907c6735002b49c07e2b277 (diff)
[People Service] Catch potential `IllegalArgumentException` in the event
of a malformed contacts URI We pass the contact URI inside shortcuts to query from the CP2 associate the shortcut with its corresponding CP2 contact. However, these URIs come from external apps and might potentially be malformed. In those cases, we catch the `IllegalArgumentException` to prevent the device from crashing. Test: unit tests Bug: 271230172 Change-Id: Iba2a504e10312cce8f32fc72d5010d4efe417b74
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions