summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util/BucketNames.java
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2012-12-12 17:47:12 -0800
committerDoris Liu <tianliu@google.com>2012-12-14 17:09:12 -0800
commit3b0ed25fd416934fabb7003c1d2981b3a311186d (patch)
tree7fb302da1892e685c84d533e279a7e9509e799fd /src/com/android/gallery3d/util/BucketNames.java
parentb8378fae9f19191d2706e3579158aaf3c2ffe75e (diff)
downloadandroid_packages_apps_Snap-3b0ed25fd416934fabb7003c1d2981b3a311186d.tar.gz
android_packages_apps_Snap-3b0ed25fd416934fabb7003c1d2981b3a311186d.tar.bz2
android_packages_apps_Snap-3b0ed25fd416934fabb7003c1d2981b3a311186d.zip
Add relativePath field into photo widget db
Bug: 7481248 The bug is caused by the change of external storage going from JB to JBMR1. In light of this change, a new field has been added to the photo widget app database to store the relative path for the local album. With the relative paths stored, the widget app should be more resilient to future storage path changes. Change-Id: Ia2497b882ae67178fa0632f23e07673b82d3a942
Diffstat (limited to 'src/com/android/gallery3d/util/BucketNames.java')
-rw-r--r--src/com/android/gallery3d/util/BucketNames.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/util/BucketNames.java b/src/com/android/gallery3d/util/BucketNames.java
index df7684a04..990dc8224 100644
--- a/src/com/android/gallery3d/util/BucketNames.java
+++ b/src/com/android/gallery3d/util/BucketNames.java
@@ -21,7 +21,9 @@ package com.android.gallery3d.util;
*/
public class BucketNames {
+ public static final String CAMERA = "DCIM/Camera";
public static final String IMPORTED = "Imported";
public static final String DOWNLOAD = "download";
public static final String EDITED_ONLINE_PHOTOS = "EditedOnlinePhotos";
+ public static final String SCREENSHOTS = "Pictures/Screenshots";
}