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