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 | d32b92d96ad07f15f6130a8608a67ab96c962a96 (patch) | |
tree | 65f64943cb29acd08c9622bc7065d4201384a243 /src_pd/com/android/gallery3d/util | |
parent | 4264520a6a231d42f65168b07e7e793cda7b1a8d (diff) | |
download | android_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.tar.gz android_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.tar.bz2 android_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.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/com/android/gallery3d/util')
-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; + } } |