summaryrefslogtreecommitdiffstats
path: root/gallerycommon/src/com/android/gallery3d/common
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2011-09-20 00:14:55 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-20 00:14:55 -0700
commit465ceb2610389c586cd788a3eedd1dac864fdd70 (patch)
treea72e6b60e2e428447247e19a156766c2b8de3d39 /gallerycommon/src/com/android/gallery3d/common
parent23faef60ca9c41a0f7461174b5b82a344b3602fd (diff)
parent213bcc1780ec0d6820a3c3b7a76462cbc26f34fe (diff)
downloadandroid_packages_apps_Snap-465ceb2610389c586cd788a3eedd1dac864fdd70.tar.gz
android_packages_apps_Snap-465ceb2610389c586cd788a3eedd1dac864fdd70.tar.bz2
android_packages_apps_Snap-465ceb2610389c586cd788a3eedd1dac864fdd70.zip
Merge "Make the column type constants public in EntrySchema"
Diffstat (limited to 'gallerycommon/src/com/android/gallery3d/common')
-rw-r--r--gallerycommon/src/com/android/gallery3d/common/EntrySchema.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/gallerycommon/src/com/android/gallery3d/common/EntrySchema.java b/gallerycommon/src/com/android/gallery3d/common/EntrySchema.java
index d652ac98a..46de03fd6 100644
--- a/gallerycommon/src/com/android/gallery3d/common/EntrySchema.java
+++ b/gallerycommon/src/com/android/gallery3d/common/EntrySchema.java
@@ -29,14 +29,14 @@ public final class EntrySchema {
@SuppressWarnings("unused")
private static final String TAG = "EntrySchema";
- private static final int TYPE_STRING = 0;
- private static final int TYPE_BOOLEAN = 1;
- private static final int TYPE_SHORT = 2;
- private static final int TYPE_INT = 3;
- private static final int TYPE_LONG = 4;
- private static final int TYPE_FLOAT = 5;
- private static final int TYPE_DOUBLE = 6;
- private static final int TYPE_BLOB = 7;
+ public static final int TYPE_STRING = 0;
+ public static final int TYPE_BOOLEAN = 1;
+ public static final int TYPE_SHORT = 2;
+ public static final int TYPE_INT = 3;
+ public static final int TYPE_LONG = 4;
+ public static final int TYPE_FLOAT = 5;
+ public static final int TYPE_DOUBLE = 6;
+ public static final int TYPE_BLOB = 7;
private static final String SQLITE_TYPES[] = {
"TEXT", "INTEGER", "INTEGER", "INTEGER", "INTEGER", "REAL", "REAL", "NONE" };
@@ -91,7 +91,7 @@ public final class EntrySchema {
return -1;
}
- private ColumnInfo getColumn(String columnName) {
+ public ColumnInfo getColumn(String columnName) {
int index = getColumnIndex(columnName);
return (index < 0) ? null : mColumnInfo[index];
}