From d32b92d96ad07f15f6130a8608a67ab96c962a96 Mon Sep 17 00:00:00 2001 From: ztenghui Date: Thu, 18 Jul 2013 14:40:10 -0700 Subject: 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 --- src_pd/com/android/gallery3d/util/LightCycleHelper.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src_pd') 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; + } } -- cgit v1.2.3