Description
Summary:
In Nearby, copy the place name to clipboard on long click, instead of just a normal click.
How can we reproduce the issue?
Open Nearby. Select any location pin. Tap on the place name.
What did you expect the app to do, and what did you see instead?
Currently, a normal click also copies the text to clipboard. And it is very annoying because the toast appears whenever we expand or collapse the place information (see gif below).
It was first introduced through issue #2405. Clearly, it was always intended to be a copy on long click. However, this was changed (most probably by mistake) when these commits were made, and the code from NearbyMapFragment.java
was shifted to NearbyParentFragment.java
.
Screen-shots:
Would you like to work on the issue?
Yes.