-
Notifications
You must be signed in to change notification settings - Fork 6k
Made [SemanticsObject setAccessibilityContainer] a noop. #19249
Made [SemanticsObject setAccessibilityContainer] a noop. #19249
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
I don't see anything obviously wrong, but I'm not familiar with this yet so I would be interested in what Dan says and the results of the manual testing you requested in #54366.
QQ: Will this block the merge, or is it more of a soft requirement not enforced by an automated system? Tentative LGTM. :-) |
|
@nscobie it's just a reminder to reviewers and authors. Is there any way we can add a test for this? |
|
Tested under iPhone 4s with iOS 9.3.5 and voiceover on. Works fine. |
|
@dnfield we already have tests for it, we just can't run it on iOS 9. Xcode doesn't support iOS 9 anymore so we'd have to create infrastructure to support running it with an old version of xcode or on a device. |
dnfield
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM to unblock customer
Description
On iOS 9
setAccessibilityContaineris getting called in the init for UIAccessibilityElement which is contrary to the design of SemanticsObject since it was originally an NSObject. I've made the setter a noop to just rely on the logic from the getter.Related Issues
flutter/flutter#54366
Tests
This is covered by current tests, but only manifests on iOS 9.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.Breaking Change
Did any tests fail when you ran them? Please read handling breaking changes.