Favourites disabled until fix can be pushed
authorDavid A. Velasco <dvelasco@solidgear.es>
Fri, 14 Sep 2012 12:27:50 +0000 (14:27 +0200)
committerDavid A. Velasco <dvelasco@solidgear.es>
Fri, 14 Sep 2012 12:27:50 +0000 (14:27 +0200)
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
src/com/owncloud/android/ui/fragment/FileDetailFragment.java

index 0401b07..0b97c68 100644 (file)
@@ -141,9 +141,10 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements
         }\r
 \r
         // file observer\r
-        Intent observer_intent = new Intent(this, FileObserverService.class);\r
+        /*Intent observer_intent = new Intent(this, FileObserverService.class);\r
         observer_intent.putExtra(FileObserverService.KEY_FILE_CMD, FileObserverService.CMD_INIT_OBSERVED_LIST);\r
         startService(observer_intent);\r
+        */\r
             \r
         /// USER INTERFACE\r
         requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);\r
index d251883..4772ddf 100644 (file)
@@ -267,6 +267,7 @@ public class FileDetailFragment extends SherlockFragment implements
                 } else {\r
                     mContainerActivity.onFileStateChanged();    // put inside 'else' to not call it twice (here, and in the virtual click on fdDownloadBtn)\r
                 }\r
+                /*\r
                 Intent intent = new Intent(getActivity().getApplicationContext(),\r
                                            FileObserverService.class);\r
                 intent.putExtra(FileObserverService.KEY_FILE_CMD,\r
@@ -275,6 +276,7 @@ public class FileDetailFragment extends SherlockFragment implements
                                    FileObserverService.CMD_DEL_OBSERVED_FILE));\r
                 intent.putExtra(FileObserverService.KEY_CMD_ARG, mFile.getStoragePath());\r
                 getActivity().startService(intent);\r
+                */\r
                 break;\r
             }\r
             case R.id.fdRenameBtn: {\r