Call close() instead of deactivate() in CursorToBulkCursorAdaptor.close()

This seems like a long-lived copy-and-paste bug.

Fixes http://b/issue?id=2015069

This is the master version of change
https://android-git.corp.google.com/g/8636 which never
made it into Eclair.

Change-Id: I75f3a1942994982d5e5f779ab43a573cb953490b
This commit is contained in:
Bjorn Bringert
2010-02-08 18:59:34 +00:00
parent 0b49ab5cae
commit d6dfca8302

View File

@@ -143,8 +143,7 @@ public final class CursorToBulkCursorAdaptor extends BulkCursorNative
public void close() {
maybeUnregisterObserverProxy();
mCursor.deactivate();
mCursor.close();
}
public int requery(IContentObserver observer, CursorWindow window) {