mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-28 07:48:14 +08:00
c7ce2e3ec1
iOS 15.1 reordered private APIs before public APIs when looking at the unw_get_proc_info() frame_info.start_ip, so doing a min/max within UIGestureEnvironment would fail on devices. However, this API is always called by UIWindow sendEvent, which is not a private API. Do the same check, but instead look back 2 frames, and check to see if we are within UIWindow. Both APIs are still marked <redacted>, but the detection should still work. Also cleans up some tests fixtures when running in release. Change-Id: I762615e9cb44389800cf3291af52a7568c3825d5 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3299008 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>