Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6dfca83 authored by Bjorn Bringert's avatar Bjorn Bringert
Browse files

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
parent 0b49ab5c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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) {