Removed relinker

This commit is contained in:
M66B 2022-09-27 13:30:35 +02:00
parent 22dc06f2d4
commit f37c1edba3
2 changed files with 1 additions and 14 deletions

View File

@ -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

View File

@ -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);