diff options
author | ztenghui <ztenghui@google.com> | 2013-07-18 14:40:10 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2013-07-19 14:32:58 -0700 |
commit | 09169dd269f1a82efb83ea1cebf75abe4daabd26 (patch) | |
tree | 0395fdf6205282636a518c63cbb39a5a016c95d0 /src_pd | |
parent | 3f0034140c165b86fbaf5c0369f39431548308e9 (diff) | |
download | android_packages_apps_Gallery2-09169dd269f1a82efb83ea1cebf75abe4daabd26.tar.gz android_packages_apps_Gallery2-09169dd269f1a82efb83ea1cebf75abe4daabd26.tar.bz2 android_packages_apps_Gallery2-09169dd269f1a82efb83ea1cebf75abe4daabd26.zip |
Update Uri instead of removing
In this way, the processing service can have a better presentation.
The cache key now include the file Uri and local abs path if exists.
bug:9468909
Change-Id: I0919c09ad26bea2e798c99ad376996547f8f2bf8
Diffstat (limited to 'src_pd')
-rw-r--r-- | src_pd/com/android/gallery3d/util/LightCycleHelper.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src_pd/com/android/gallery3d/util/LightCycleHelper.java b/src_pd/com/android/gallery3d/util/LightCycleHelper.java index bceeea6b4..5cd910f8f 100644 --- a/src_pd/com/android/gallery3d/util/LightCycleHelper.java +++ b/src_pd/com/android/gallery3d/util/LightCycleHelper.java @@ -17,6 +17,7 @@ package com.android.gallery3d.util; import android.app.Activity; +import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.net.Uri; @@ -82,4 +83,18 @@ public class LightCycleHelper { public static StitchingProgressManager createStitchingManagerInstance(GalleryApp app) { return null; } + + /** + * Get the file path from a Media storage URI. + */ + public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { + return null; + } + + /** + * Get the modified time from a Media storage URI. + */ + public static long getModifiedTimeFromURI(ContentResolver contentResolver, Uri contentUri) { + return 0; + } } |