commit | a09f62d036c55fb7963d4f545bbcd00efb567a5a | [log] [tgz] |
---|---|---|
author | Andrey Epin <ayepin@google.com> | Tue Jun 13 10:45:20 2023 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jun 27 00:42:14 2023 +0000 |
tree | c7f3fd3b63e5100aa8337fde044254a27eadd46b | |
parent | 6e616930cd005b15ff235b64fb06362dbdf31f93 [diff] |
Provide copy action only when a text is sent The copy button will be present to the user only when a text without images is sent i.e. intent action is ACTION_SEND, EXTRA_STREAM does not have any URI and EXTRA_TEXT is not null. Fix: 287061873 Fix: 275382122 Fix: 288425116 Test: manual testing Test: atest ChooserActionFactoryTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a1c9dc6af9fb0ff4b50ed1b8e7f59bdfccbfa682) Merged-In: I26c6eef24e7f909842eb066a73286a7525124d21 Change-Id: I26c6eef24e7f909842eb066a73286a7525124d21