Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/net/sqlcipher/AbstractCursor.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public abstract class AbstractCursor implements android.database.CrossProcessCur
DataSetObservable mDataSetObservable = new DataSetObservable();
ContentObservable mContentObservable = new ContentObservable();

private Bundle mExtras = Bundle.EMPTY;

/* -------------------------------------------------------- */
/* These need to be implemented by subclasses */
abstract public int getCount();
Expand Down Expand Up @@ -502,8 +504,12 @@ public boolean getWantsAllOnMoveCalls() {
return false;
}

public void setExtras(Bundle extras) {
mExtras = (extras == null) ? Bundle.EMPTY : extras;
}

public Bundle getExtras() {
return Bundle.EMPTY;
return mExtras;
}

public Bundle respond(Bundle extras) {
Expand Down