-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Reland 79654 #79656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reland 79654 #79656
Conversation
…verted in (flutter#79654) This reverts commit bf6e38d.
@chunhtai does the integration test change look right to you? |
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.
I left a concern
@@ -157,6 +157,7 @@ void main() { | |||
AndroidSemanticsAction.copy, | |||
AndroidSemanticsAction.setSelection, | |||
AndroidSemanticsAction.setText, | |||
AndroidSemanticsAction.nextAtMovementGranularity, |
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.
If enter text sets the selection to the end , why there is only nextAtMovementGranularity but no previousAtMovementGranularity?
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.
not sure this is what the error message told me to do.
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.
This is a bit confusing to me: https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo#ACTION_NEXT_AT_MOVEMENT_GRANULARITY
The example says "Move to the previous character"
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.
We added semantics action in RenderEditable.describeSemanticsConfiguration. These action will propagate to AccessibilityBridge.java and the real android semantics action will be added in createAccessibilityNodeInfo in that file which will then show up in the test here. I think we should figure out why there is nextAtMovementGranularity because the RenderEditable.describeSemanticsConfiguration should only add previousAtMovementGranularity
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.
Ok there were 2 typos. Fixed now.
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
@@ -144,7 +144,7 @@ class AndroidSemanticsAction { | |||
case _kNextAtMovementGranularityIndex: | |||
return 'AndroidSemanticsAction.nextAtMovementGranularity'; | |||
case _kPreviousAtMovementGranularityIndex: | |||
return 'AndroidSemanticsAction.nextAtMovementGranularity'; |
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.
lol, nice one
Diff b2b7d41
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.