Skip to content

Commit

Permalink
Encryption: switch to SQLite3MC
Browse files Browse the repository at this point in the history
  • Loading branch information
guanlisheng committed Dec 27, 2024
1 parent ccf7cb8 commit fcd38c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ dependencies {
, 'com.github.PhilJay:MPAndroidChart:v2.2.5'
, 'org.javamoney:moneta-bp:1.4.1'
, 'com.google.code.gson:gson:2.11.0'
, 'net.zetetic:android-database-sqlcipher:4.5.4' // database encryption
, 'org.greenrobot:eventbus:3.3.1'
, 'androidx.recyclerview:recyclerview:1.3.0'
// For control over item selection of both touch and mouse driven selection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

import androidx.sqlite.db.SupportSQLiteOpenHelper;

import com.money.manager.ex.sqlite3mc.SupportFactory;
// import com.money.manager.ex.sqlite3mc.SupportFactory;
import net.sqlcipher.database.SupportFactory;
import com.money.manager.ex.MmexApplication;
import com.money.manager.ex.database.MmxOpenHelper;
import com.squareup.sqlbrite3.BriteDatabase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@

import com.google.common.io.Files;
import com.money.manager.ex.Constants;
import com.money.manager.ex.sqlite3mc.SupportFactory;
// import com.money.manager.ex.sqlite3mc.SupportFactory;
import net.sqlcipher.database.SupportFactory;
import com.money.manager.ex.MmexApplication;
import com.money.manager.ex.R;
import com.money.manager.ex.core.Core;
Expand Down Expand Up @@ -68,7 +69,7 @@ public MmxOpenHelper(Context context, String dbPath) {
this.mPassword = MmexApplication.getApp().getPassword();

// Load the sqlite3mc native library.
System.loadLibrary("sqliteX");
// System.loadLibrary("sqliteX");
}

private final Context mContext;
Expand Down

0 comments on commit fcd38c0

Please sign in to comment.