[Siri Shortcuts] Add checks for old shortcut actions
It appears that in some rare cases that aren't fully understood yet, old versions of intents are passed to Chrome instead of the new intents. This makes it so any new intent parameter isn't there or is of the wrong type, which can lead to crashes. This CL attempts to prevent these crashes by adding type checks and null checks for properties missing in old intent versions. Bug: 1133825 Change-Id: I55ec931ccdaf1afaf36ab31f73c405ac7c2b49b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441631Reviewed-by:Mark Cogan <marq@chromium.org> Reviewed-by:
Rohit Rao <rohitrao@chromium.org> Commit-Queue: Guillaume Jenkins <gujen@google.com> Cr-Commit-Position: refs/heads/master@{#813264}
Showing
Please register or sign in to comment