summaryrefslogtreecommitdiffstats
path: root/src/com/android/photos/data
diff options
context:
space:
mode:
authorMangesh Ghiware <mghiware@google.com>2013-03-14 10:27:04 -0700
committerMangesh Ghiware <mghiware@google.com>2013-03-14 10:27:04 -0700
commit693a5b7a18066d4757d49a44214356a3dd9f61a0 (patch)
tree3fca0736278e49d9b95e43028d7e88200bfbfaef /src/com/android/photos/data
parent978f4aae1d2923fd125f85a6d5c568a26c571522 (diff)
downloadandroid_packages_apps_Gallery2-693a5b7a18066d4757d49a44214356a3dd9f61a0.tar.gz
android_packages_apps_Gallery2-693a5b7a18066d4757d49a44214356a3dd9f61a0.tar.bz2
android_packages_apps_Gallery2-693a5b7a18066d4757d49a44214356a3dd9f61a0.zip
Use plurals for table names for consistency.
Change-Id: I663c0085ed467f3f61f6060147374d9128967e2d
Diffstat (limited to 'src/com/android/photos/data')
-rw-r--r--src/com/android/photos/data/PhotoProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/photos/data/PhotoProvider.java b/src/com/android/photos/data/PhotoProvider.java
index 084401d16..8413206b1 100644
--- a/src/com/android/photos/data/PhotoProvider.java
+++ b/src/com/android/photos/data/PhotoProvider.java
@@ -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);