Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Siri Shortcuts] Correctly check for searchPhrase existence
The previous way of checking whether the searchPhrase property existed on the SearchInChrome intent object was respondsToSelector:, which didn't work. This fix uses valueForKey: instead, which appears to be a safe way to check whether searchPhrase exists on the intent object. Bug: 1133825 Change-Id: I82242e2398359f1955fd93b06ecdc4648fcaf5df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459566 Commit-Queue: Guillaume Jenkins <gujen@google.com> Reviewed-by: Mark Cogan <marq@chromium.org> Reviewed-by: Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#815703}
- Loading branch information