8000 fixes for guardian to sqlcipher refactoring · latty/android-database-sqlcipher@276126d · GitHub
[go: up one dir, main page]

Skip to content

Commit 276126d

Browse files
committed
fixes for guardian to sqlcipher refactoring
1 parent a6044fb commit 276126d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

jni/Android.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LOCAL_SRC_FILES:= \
2828
net_sqlcipher_database_SQLiteStatement.cpp \
2929
net_sqlcipher_CursorWindow.cpp \
3030
CursorWindow.cpp
31-
# info_guardianproject_database_sqlcipher_SQLiteDebug.cpp
31+
# net_sqlcipher_database_sqlcipher_SQLiteDebug.cpp
3232

3333
LOCAL_C_INCLUDES += \
3434
$(JNI_H_INCLUDE) \

jni/net_sqlcipher_database_SQLiteDatabase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ void throw_sqlite3_exception(JNIEnv* env, int errcode,
585585
exceptionClass = "net/sqlcipher/database/SQLiteMisuseException";
586586
break;
587587
default:
588-
exceptionClass = "info/guardianproject/database/sqlcipher/SQLiteException";
588+
exceptionClass = "net/sqlcipher/database/sqlcipher/SQLiteException";
589589
break;
590590
}
591591

src/net/sqlcipher/database/SQLiteCursor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ public void fillWindow(int startPos, android.database.CursorWindow window) {
612612

613613
/*
614614
window.setStartPosition(startPos);
615-
mCount = mQuery.fillWindow((info.guardianproject.database.CursorWindow)window, mInitialRead, 0);
615+
mCount = mQuery.fillWindow((net.sqlcipher.database.CursorWindow)window, mInitialRead, 0);
616616
// return -1 means not finished
617617
if (mCount == NO_COUNT){
618618
mCount = startPos + mInitialRead;

0 commit comments

Comments
 (0)
0