mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Removed relinker
This commit is contained in:
parent
22dc06f2d4
commit
f37c1edba3
2 changed files with 1 additions and 14 deletions
|
@ -548,7 +548,7 @@ dependencies {
|
|||
|
||||
// https://github.com/KeepSafe/ReLinker
|
||||
// https://mvnrepository.com/artifact/com.getkeepsafe.relinker/relinker
|
||||
implementation "com.getkeepsafe.relinker:relinker:$relinker_version"
|
||||
//implementation "com.getkeepsafe.relinker:relinker:$relinker_version"
|
||||
|
||||
// https://github.com/noties/Markwon
|
||||
// https://mvnrepository.com/artifact/io.noties.markwon/core
|
||||
|
|
|
@ -25,8 +25,6 @@ import androidx.room.TypeConverters;
|
|||
import androidx.room.migration.Migration;
|
||||
import androidx.sqlite.db.SupportSQLiteDatabase;
|
||||
|
||||
import com.getkeepsafe.relinker.ReLinker;
|
||||
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
@ -400,17 +398,6 @@ public abstract class DB extends RoomDatabase {
|
|||
}
|
||||
|
||||
private static RoomDatabase.Builder<DB> getBuilder(Context context) {
|
||||
try {
|
||||
ReLinker.log(new ReLinker.Logger() {
|
||||
@Override
|
||||
public void log(String message) {
|
||||
Log.i("Relinker: " + message);
|
||||
}
|
||||
}).loadLibrary(context, "sqlite3x");
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
int threads = prefs.getInt("query_threads", DEFAULT_QUERY_THREADS);
|
||||
boolean wal = prefs.getBoolean("wal", true);
|
||||
|
|
Loading…
Reference in a new issue