Record debug logs without foreground service

Some overhaul of log recording to get rid of the `FOREGROUND_SERVICE_SPECIAL_USE` which is a headache with Google
This commit is contained in:
darken
2024-09-23 15:05:11 +02:00
committed by Matthias Urhahn
parent 0ee7915e31
commit 3eaf99390e
44 changed files with 98 additions and 246 deletions
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference
android:icon="@drawable/ic_baseline_text_snippet_24"
android:key="debug.log.record"
android:title="@string/debug_debuglog_record_action" />
<eu.darken.capod.common.preferences.MaterialSwitchPreference
android:icon="@drawable/ic_baseline_bug_report_24"
android:key="debug.mode.enabled"
+9 -1
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<eu.darken.capod.common.preferences.IntentPreference
android:icon="@drawable/ic_discord_onsurface"
android:summary="@string/discord_description"
@@ -17,4 +18,11 @@
android:data="https://github.com/d4rken-org/capod/issues" />
</eu.darken.capod.common.preferences.IntentPreference>
<PreferenceCategory app:title="@string/settings_category_other_label">
<Preference
android:icon="@drawable/ic_baseline_bug_report_24"
android:key="support.debuglog"
android:summary="@string/support_debuglog_desc"
android:title="@string/support_debuglog_label" />
</PreferenceCategory>
</PreferenceScreen>