Revert changes for files uploading
[pub/Android/ownCloud.git] / src / com / owncloud / android / ui / fragment / OCFileListFragment.java
index 5820119..b70262f 100644 (file)
@@ -131,7 +131,8 @@ public class OCFileListFragment extends ExtendedListFragment {
         boolean justFolders = (args == null) ? false : args.getBoolean(ARG_JUST_FOLDERS, false); 
         mAdapter = new FileListListAdapter(
                 justFolders,
-                getSherlockActivity()
+                getSherlockActivity(),
+                mContainerActivity
                 );
         setListAdapter(mAdapter);
 
@@ -252,6 +253,7 @@ public class OCFileListFragment extends ExtendedListFragment {
                 FileMenuFilter mf = new FileMenuFilter(
                     targetFile,
                     mContainerActivity.getStorageManager().getAccount(),
+                    mContainerActivity,
                     getSherlockActivity()
                 );
                 mf.filter(menu);