diff --git a/project.properties b/project.properties index a5578ba0..19c32e63 100644 --- a/project.properties +++ b/project.properties @@ -8,4 +8,4 @@ # project structure. # Project target. -target=android-19 +target=android-23 diff --git a/src/net/sqlcipher/AbstractCursor.java b/src/net/sqlcipher/AbstractCursor.java index 9a74561a..a665c5c6 100644 --- a/src/net/sqlcipher/AbstractCursor.java +++ b/src/net/sqlcipher/AbstractCursor.java @@ -510,6 +510,15 @@ public Bundle respond(Bundle extras) { return Bundle.EMPTY; } + /** + * Bogus implementation needed to build with Android 6.0(+) SDK. + * This implementation will throw a RuntimeException with a + * "not implemented" message. + */ + public void setExtras(Bundle ignored) { + throw new RuntimeException("void setExtras(Bundle) not implemented"); + } + /** * This function returns true if the field has been updated and is * used in conjunction with {@link #getUpdatedField} to allow subclasses to