Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/Alpha 370 (2026-09-13)
Accessibility announcements for collapsing/expanding comments, and voting (thanks to codeofdusk)
Fix accessibility focus when moving between parent comments (thanks to codeofdusk)
Fix custom accessibility actions intermittently disappearing from comments (thanks to codeofdusk)
Fixes for inline image preview size in landscape mode
Improved memory usage for inline image previews
Fix for notification prompt being shown twice when logging in
Expand Down
1 change: 1 addition & 0 deletions src/main/assets/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
119/1.27
Accessibility announcements for collapsing/expanding comments, and voting (thanks to codeofdusk)
Fix accessibility focus when moving between parent comments (thanks to codeofdusk)
Fix custom accessibility actions intermittently disappearing from comments (thanks to codeofdusk)
Fixes for inline image preview size in landscape mode
Improved memory usage for inline image previews
Fix for notification prompt being shown twice when logging in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ class AccessibilityActionManager(
}

fun removeAllActions() {
// The click/long-click hints are labelled standard actions, which
// aren't tracked in existingActions. Clear them first:
// ViewCompat.addAccessibilityAction reuses the id of any existing
// action whose label matches, so a stale hint label left in the list
// would capture a matching custom action onto the standard action's
// id, hiding it from screen readers' custom action lists.
setClickHint(null)
setLongClickHint(null)

existingActions.forEach {
ViewCompat.removeAccessibilityAction(view, it)
}
Expand Down
Loading