Update direct share titles for a11y
Currently, the direct share icon content descriptions are set to the application name. This causes issues if an app has multiple activities that can be used to share. E.g. The Drive app has "Save to Drive" and "Copy to clipboard," but TalkBack reads them both as "share via Drive." As a fix, this CL changes ShareHelper#getShareableIconAndName to return the activity label instead of the app label. If the activity label is null, the app label is returned by default. Bug: 986545 Change-Id: I1174ca962deb9efbe25c432967c60f68ea855e20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721854Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#682386}
Showing
Please register or sign in to comment