Эх сурвалжийг харах

Favourites disabled until fix can be pushed

David A. Velasco 12 жил өмнө
parent
commit
8eae3a2be5

+ 2 - 1
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -141,9 +141,10 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
         }
 
         // file observer
-        Intent observer_intent = new Intent(this, FileObserverService.class);
+        /*Intent observer_intent = new Intent(this, FileObserverService.class);
         observer_intent.putExtra(FileObserverService.KEY_FILE_CMD, FileObserverService.CMD_INIT_OBSERVED_LIST);
         startService(observer_intent);
+        */
             
         /// USER INTERFACE
         requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);

+ 2 - 0
src/com/owncloud/android/ui/fragment/FileDetailFragment.java

@@ -267,6 +267,7 @@ public class FileDetailFragment extends SherlockFragment implements
                 } else {
                     mContainerActivity.onFileStateChanged();    // put inside 'else' to not call it twice (here, and in the virtual click on fdDownloadBtn)
                 }
+                /*
                 Intent intent = new Intent(getActivity().getApplicationContext(),
                                            FileObserverService.class);
                 intent.putExtra(FileObserverService.KEY_FILE_CMD,
@@ -275,6 +276,7 @@ public class FileDetailFragment extends SherlockFragment implements
                                    FileObserverService.CMD_DEL_OBSERVED_FILE));
                 intent.putExtra(FileObserverService.KEY_CMD_ARG, mFile.getStoragePath());
                 getActivity().startService(intent);
+                */
                 break;
             }
             case R.id.fdRenameBtn: {