[ios] Work around NSInternalInconsistencyException startup crash.
On small form factor devices (iPhone SE, 5, 5s, iPods), an edge case is causing an NSInternalInconsistencyException exception and crash immediately on startup. The problem only seems to present on devices with VoiceOver enabled as UIKit functions slightly differently when laying out a UICollectionView. By merging the batch updates when adding suggestions, we can work around the exception. crbug.com/881647 has a longer discussion about the cause and resolution. Bug: 881647 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: I0503957ee73edb57a6d978df4338fc76e0370062 Reviewed-on: https://chromium-review.googlesource.com/1234216 Commit-Queue: Justin Cohen <justincohen@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#592747}
Showing
Please register or sign in to comment