mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Clean up AttachmentTable schema.
This commit is contained in:
committed by
Alex Hart
parent
62b142cdeb
commit
fe39b5e4e2
@@ -78,8 +78,7 @@ public final class PartProvider extends BaseContentProvider {
|
||||
}
|
||||
|
||||
public static Uri getContentUri(AttachmentId attachmentId) {
|
||||
Uri uri = Uri.withAppendedPath(CONTENT_URI, String.valueOf(attachmentId.getUniqueId()));
|
||||
return ContentUris.withAppendedId(uri, attachmentId.getRowId());
|
||||
return ContentUris.withAppendedId(CONTENT_URI, attachmentId.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user