adding specified adapter for contacts and files
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / db / ProviderMeta.java
index 636c699..762562d 100644 (file)
@@ -22,7 +22,7 @@ import android.provider.BaseColumns;
 
 public class ProviderMeta {
 
-  public static final String AUTHORITY = "org.owncloud";
+  public static final String AUTHORITY_FILES = "org.owncloud.files";
   public static final String DB_FILE = "owncloud.db";
   public static final String DB_NAME = "filelist";
   public static final int DB_VERSION = 1;
@@ -32,11 +32,11 @@ public class ProviderMeta {
   static public class ProviderTableMeta implements BaseColumns {
     public static final String DB_NAME = "filelist";
     public static final Uri CONTENT_URI =  
-      Uri.parse("content://" + AUTHORITY + "/");
+      Uri.parse("content://" + AUTHORITY_FILES + "/");
     public static final Uri CONTENT_URI_FILE =
-      Uri.parse("content://" + AUTHORITY + "/file");
+      Uri.parse("content://" + AUTHORITY_FILES + "/file");
     public static final Uri CONTENT_URI_DIR =
-      Uri.parse("content://" + AUTHORITY + "/dir");
+      Uri.parse("content://" + AUTHORITY_FILES + "/dir");
 
     public static final String CONTENT_TYPE =
       "vnd.android.cursor.dir/vnd.owncloud.file";