summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2013-07-18 21:40:10 (GMT)
committerztenghui <ztenghui@google.com>2013-07-19 21:32:58 (GMT)
commitd32b92d96ad07f15f6130a8608a67ab96c962a96 (patch)
tree65f64943cb29acd08c9622bc7065d4201384a243 /src_pd
parent4264520a6a231d42f65168b07e7e793cda7b1a8d (diff)
downloadandroid_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.zip
android_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.tar.gz
android_packages_apps_Snap-d32b92d96ad07f15f6130a8608a67ab96c962a96.tar.bz2
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.java15
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 bceeea6..5cd910f 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;
+ }
}