mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Use Filename as key for content URI, not id
This commit is contained in:
parent
64e16ad1cc
commit
d1b088581f
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ public class ContributionsContentProvider extends ContentProvider{
|
|||
throw new IllegalArgumentException("Unknown URI: " + uri);
|
||||
}
|
||||
getContext().getContentResolver().notifyChange(uri, null);
|
||||
return Uri.parse(BASE_PATH + "/" + id);
|
||||
return Uri.parse(BASE_PATH + "/" + contentValues.get(Contribution.Table.COLUMN_FILENAME));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue