X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/e81bff7679a9b84cd920e940396578a181a75d66..33a9d1f44728895239d79ed3b74df29c2827bdda:/src/com/owncloud/android/services/OperationsService.java diff --git a/src/com/owncloud/android/services/OperationsService.java b/src/com/owncloud/android/services/OperationsService.java index 8433db39..b6326446 100644 --- a/src/com/owncloud/android/services/OperationsService.java +++ b/src/com/owncloud/android/services/OperationsService.java @@ -555,9 +555,14 @@ public class OperationsService extends Service { String password = operationIntent.getStringExtra(EXTRA_PASSWORD_SHARE); Intent sendIntent = operationIntent.getParcelableExtra(EXTRA_SEND_INTENT); if (remotePath.length() > 0) { - operation = new CreateShareOperation(OperationsService.this, remotePath, + operation = new CreateShareOperation( + remotePath, ShareType.PUBLIC_LINK, - "", false, password, 1, sendIntent); + null, + false, + password, + 1, + sendIntent); } } else if (action.equals(ACTION_UNSHARE)) { // Unshare file