OSDN Git Service

Fix issue 1906618.
authorrepo sync <raychen@google.com>
Thu, 11 Jun 2009 00:50:46 +0000 (08:50 +0800)
committerrepo sync <raychen@google.com>
Thu, 11 Jun 2009 00:50:46 +0000 (08:50 +0800)
src/com/android/camera/gallery/BaseImageList.java

index 01dee15..5cbedb6 100644 (file)
@@ -415,9 +415,6 @@ public abstract class BaseImageList implements IImageList {
             Log.i(TAG, "fail to get id in: " + uri, ex);
             return null;
         }
-        if (!ContentUris.withAppendedId(mBaseUri, matchId).equals(uri)) {
-            return null;
-        }
         // TODO: design a better method to get URI of specified ID
         Cursor cursor = getCursor();
         synchronized (cursor) {