mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Delete delay for delete
This commit is contained in:
parent
96cfa5d16f
commit
80de60a51f
1 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ public class FileAlterationMagicObserver extends FileAlterationObserver implemen
|
|||
c++;
|
||||
} else {
|
||||
checkAndNotify(entry, entry.getChildren(), FileUtils.EMPTY_FILE_ARRAY, delay);
|
||||
doDelete(entry, delay);
|
||||
doDelete(entry);
|
||||
}
|
||||
}
|
||||
for (; c < files.length; c++) {
|
||||
|
@ -356,7 +356,7 @@ public class FileAlterationMagicObserver extends FileAlterationObserver implemen
|
|||
*
|
||||
* @param entry The file entry
|
||||
*/
|
||||
private void doDelete(final FileEntry entry, int delay) {
|
||||
private void doDelete(final FileEntry entry) {
|
||||
for (final FileAlterationMagicListener listener : listeners) {
|
||||
if (entry.isDirectory()) {
|
||||
listener.onDirectoryDelete(entry.getFile());
|
||||
|
|
Loading…
Reference in a new issue