OSDN Git Service

Use plurals for table names for consistency.
authorMangesh Ghiware <mghiware@google.com>
Thu, 14 Mar 2013 17:27:04 +0000 (10:27 -0700)
committerMangesh Ghiware <mghiware@google.com>
Thu, 14 Mar 2013 17:27:04 +0000 (10:27 -0700)
Change-Id: I663c0085ed467f3f61f6060147374d9128967e2d

src/com/android/photos/data/PhotoProvider.java

index 084401d..8413206 100644 (file)
@@ -84,7 +84,7 @@ public class PhotoProvider extends SQLiteContentProvider {
      */
     public static interface Photos extends BaseColumns {
         /** Internal database table used for basic photo information. */
-        public static final String TABLE = "photo";
+        public static final String TABLE = "photos";
         /** Content URI for basic photo and video information. */
         public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);
 
@@ -123,7 +123,7 @@ public class PhotoProvider extends SQLiteContentProvider {
      */
     public static interface Albums extends BaseColumns {
         /** Internal database table used album information. */
-        public static final String TABLE = "album";
+        public static final String TABLE = "albums";
         /** Content URI for album information. */
         public static final Uri CONTENT_URI = Uri.withAppendedPath(BASE_CONTENT_URI, TABLE);