parent
c0dcf4a55a
commit
3677c6ec98
|
@ -395,10 +395,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setDataAndType(activity.xmppConnectionService
|
||||
.getFileBackend().getJingleFileUri(message), "image/*");
|
||||
getContext().startActivity(intent);
|
||||
openDownloadable(message);
|
||||
}
|
||||
});
|
||||
viewHolder.image.setOnLongClickListener(openContextMenu);
|
||||
|
|
Loading…
Reference in a new issue