1
0
Fork 0

Back to SQLite (#420)

* Deleted Objectbox and went back to SQLite. The database structure is entirely new and optimized for fast performance

* Added slow query stats + cache for even faster performance

* automatic language sorting script 

* legacy database management using SQLiteOpener

* simplified access to the constant settings
This commit is contained in:
Dimo Karaivanov 2024-02-05 13:56:26 +02:00 committed by GitHub
parent e1574c38e5
commit f1657a0285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 1763 additions and 946 deletions

View file

@ -1,20 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" app:orderingFromXml="true">
<SwitchPreferenceCompat
app:fragment="io.github.sspanak.tt9.preferences.SlowQueriesScreen"
app:key="pref_slow_queries"
app:layout="@layout/pref_text"
app:title="@string/pref_category_usage_stats" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:key="pref_enable_debug_logs"
app:layout="@layout/pref_switch"
app:title="@string/pref_debug_logs" />
app:title="Debug Logs" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:key="pref_enable_system_logs"
app:layout="@layout/pref_switch"
app:title="@string/pref_system_logs" />
app:title="System Logs" />
<PreferenceCategory
app:title="@string/pref_category_log_messages"
app:title="Recent Log Messages"
app:layout="@layout/pref_category"
app:singleLineTitle="true">
<Preference