Description[Android] Fix context menu direct share bugs
Ths CL contains two main issues related to the direct share in Chrome
context menu:
1. Share in context menu only supports sharing image. However, direct
share could show the option that is not supported for image sharing
because it uses the same logic with direct share on overflow menu
which supports sharing for different kind of url. To fix this, check
whether the direct share option supports image sharing, if not, hidding
the icon.
2. Sharing option choosen from context menu is not updated in the direct
share. To fix it, follow the same logic as sharing from overflow menu
which adds an intent sender to notify the update.
BUG=None
Review-Url: https://codereview.chromium.org/2855743002
Cr-Commit-Position: refs/heads/master@{#469755}
Committed: https://chromium.googlesource.com/chromium/src/+/8f6f9c1597928d3df4cd6a44942c323ef8e46fee
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update based on Ted's comments. #
Total comments: 4
Patch Set 3 : Update based on Ted's new comments. #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 12 (5 generated)
|