|
@@ -40,7 +40,7 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
|
|
|
private String mPath;
|
|
|
private String mPassword;
|
|
|
- private boolean mPublicUpload;
|
|
|
+ private Boolean mPublicUpload;
|
|
|
private long mExpirationDateInMillis;
|
|
|
|
|
|
/**
|
|
@@ -53,7 +53,7 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
mPath = path;
|
|
|
mPassword = null;
|
|
|
mExpirationDateInMillis = 0;
|
|
|
- mPublicUpload = false;
|
|
|
+ mPublicUpload = null;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -85,8 +85,9 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
* Enable upload permissions to update in Share resource.
|
|
|
*
|
|
|
* @param publicUpload Upload Permission to set to the public link.
|
|
|
+ * Null results in no update applied to the upload permission.
|
|
|
*/
|
|
|
- public void setPublicUpload(boolean publicUpload) {
|
|
|
+ public void setPublicUpload(Boolean publicUpload) {
|
|
|
mPublicUpload = publicUpload;
|
|
|
}
|
|
|
|