From: masensio Date: Fri, 2 May 2014 12:33:23 +0000 (+0200) Subject: Update filelist for update actions, sent notification to uri in FileContenProvider X-Git-Tag: oc-android-1.7.0_signed~309^2~59 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/8283b301e1ebeafd8f157a54517d4a2cc194f5bd Update filelist for update actions, sent notification to uri in FileContenProvider --- diff --git a/src/com/owncloud/android/providers/FileContentProvider.java b/src/com/owncloud/android/providers/FileContentProvider.java index 19b64bb2..f76ae94b 100644 --- a/src/com/owncloud/android/providers/FileContentProvider.java +++ b/src/com/owncloud/android/providers/FileContentProvider.java @@ -483,6 +483,12 @@ public class FileContentProvider extends ContentProvider { db.endTransaction(); } getContext().getContentResolver().notifyChange(uri, null); + + // Get parentId to notify the change + long parentId = getParentId(uri); + // Notify the change to the parent folder + notifyChangeToParentUri(parentId); + return count; }