Merge pull request #1048 from owncloud/shareWithYou_icon_in_fileList
[pub/Android/ownCloud.git] / src / com / owncloud / android / MainApp.java
index 0d725e5..c805f9f 100644 (file)
@@ -53,9 +53,10 @@ public class MainApp extends Application {
     private static final String POLICY_ALWAYS_NEW_CLIENT = "always new client";
 
     private static Context mContext;
-    
+
+    // TODO Enable when "On Device" is recovered?
     // TODO better place
-    private static boolean mOnlyOnDevice = false;
+    // private static boolean mOnlyOnDevice = false;
 
     
     public void onCreate(){
@@ -174,14 +175,15 @@ public class MainApp extends Application {
     public static String getLogName() {
         return getAppContext().getResources().getString(R.string.log_name);
     }
-    
-    public static void showOnlyFilesOnDevice(boolean state){
-        mOnlyOnDevice = state;
-    }
-    
-    public static boolean getOnlyOnDevice(){
-        return mOnlyOnDevice;
-    }
+
+    // TODO Enable when "On Device" is recovered ?
+//    public static void showOnlyFilesOnDevice(boolean state){
+//        mOnlyOnDevice = state;
+//    }
+//
+//    public static boolean getOnlyOnDevice(){
+//        return mOnlyOnDevice;
+//    }
 
     // user agent
     public static String getUserAgent() {