pull/194/merge
M66B 3 years ago
parent 176edb0c57
commit b48ec082c3

@ -3490,6 +3490,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
File pictures = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
// Android < 10 requires:
// <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
// https://developer.android.com/training/data-storage/shared/media#request-permissions
DB db = DB.getInstance(context);
List<EntityAttachment> attachments = db.attachment().getAttachments(id);

Loading…
Cancel
Save