commit | c039eebf35580b88cb258332be9fb492437b93fb | [log] [tgz] |
---|---|---|
author | jeffnainap <jeffnainap@google.com> | Tue Mar 07 21:31:29 2023 +0000 |
committer | jeffnainap <jeffnainap@google.com> | Wed Mar 08 00:12:14 2023 +0000 |
tree | 7eed84d89bf27c9e0795b67427c642ff7cbcc9db | |
parent | 931859a1a8e73fde0907c6735002b49c07e2b277 [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