Conversation
…verted in (flutter#79654) This reverts commit bf6e38d.
|
@chunhtai does the integration test change look right to you? |
| AndroidSemanticsAction.copy, | ||
| AndroidSemanticsAction.setSelection, | ||
| AndroidSemanticsAction.setText, | ||
| AndroidSemanticsAction.nextAtMovementGranularity, |
There was a problem hiding this comment.
If enter text sets the selection to the end , why there is only nextAtMovementGranularity but no previousAtMovementGranularity?
There was a problem hiding this comment.
not sure this is what the error message told me to do.
There was a problem hiding this comment.
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.
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.
Ok there were 2 typos. Fixed now.
| case _kNextAtMovementGranularityIndex: | ||
| return 'AndroidSemanticsAction.nextAtMovementGranularity'; | ||
| case _kPreviousAtMovementGranularityIndex: | ||
| return 'AndroidSemanticsAction.nextAtMovementGranularity'; |
Diff b2b7d41
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.