[android] make getAttachmentItem method visible for testing

1 job for 1468-restrict-image-send-size in 9 minutes (queued for 3 seconds)