From c7e544ab779b0b16fb2e95d898039b72ece96ccc Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 22 Nov 2016 22:33:06 +0100 Subject: [PATCH] reintroduce account for federated sharing permission --- .../com/owncloud/android/ui/fragment/EditShareFragment.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java b/src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java index 4330addb82..3b1653d835 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/EditShareFragment.java @@ -69,6 +69,9 @@ public class EditShareFragment extends Fragment { /** File bound to mShare, received as a parameter in construction time */ private OCFile mFile; + /** Account of the shared file, received as a parameter in construction time */ + private Account mAccount; + /** Listener for changes on privilege checkboxes */ private CompoundButton.OnCheckedChangeListener mOnPrivilegeChangeListener; @@ -101,7 +104,7 @@ public class EditShareFragment extends Fragment { mShare = getArguments().getParcelable(ARG_SHARE); mFile = getArguments().getParcelable(ARG_FILE); /* OC account holding the shared file, received as a parameter in construction time */ - //Account mAccount = getArguments().getParcelable(ARG_ACCOUNT); + mAccount = getArguments().getParcelable(ARG_ACCOUNT); } }