Fix build - remove reference to ReadOnlyCursorWrapper
Steve Howard [Thu, 15 Jul 2010 20:43:01 +0000 (13:43 -0700)]
Change-Id: I099c98e310039886990502d63566f3e217738b45

src/com/android/providers/downloads/DownloadProvider.java

index bb9b122..698ec25 100644 (file)
@@ -577,9 +577,8 @@ public final class DownloadProvider extends ContentProvider {
                        + getDownloadIdFromUri(uri);
         String[] projection = new String[] {Downloads.Impl.RequestHeaders.COLUMN_HEADER,
                                             Downloads.Impl.RequestHeaders.COLUMN_VALUE};
-        Cursor cursor = db.query(Downloads.Impl.RequestHeaders.HEADERS_DB_TABLE, projection, where,
-                                 null, null, null, null);
-        return new ReadOnlyCursorWrapper(cursor);
+        return db.query(Downloads.Impl.RequestHeaders.HEADERS_DB_TABLE, projection, where,
+                        null, null, null, null);
     }
 
     /**