diff --git a/app-common/src/main/AndroidManifest.xml b/app-common/src/main/AndroidManifest.xml index bf80c5e..a9c61d3 100644 --- a/app-common/src/main/AndroidManifest.xml +++ b/app-common/src/main/AndroidManifest.xml @@ -21,6 +21,10 @@ android:label="@string/profile_download" android:theme="@style/Theme.AppCompat.Translucent" /> + + ("pref_advanced_logs") + ?.setOnPreferenceClickListener { + startActivity(Intent(requireContext(), LogsActivity::class.java)) + true + } + findPreference("pref_notifications_download") ?.bindBooleanFlow(preferenceRepository.notificationDownloadFlow, PreferenceKeys.NOTIFICATION_DOWNLOAD) diff --git a/app-common/src/main/res/layout/activity_logs.xml b/app-common/src/main/res/layout/activity_logs.xml new file mode 100644 index 0000000..c305d0a --- /dev/null +++ b/app-common/src/main/res/layout/activity_logs.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app-common/src/main/res/values/strings.xml b/app-common/src/main/res/values/strings.xml index 71440c0..96c7bf3 100644 --- a/app-common/src/main/res/values/strings.xml +++ b/app-common/src/main/res/values/strings.xml @@ -58,6 +58,9 @@ Send notifications for enabling profiles\nNote that this type of notification is unreliable. Disabling Send notifications for disabling profiles\nNote that this type of notification is unreliable. + Advanced + Logs + View recent debug logs of the application Info App Version Source Code diff --git a/app-common/src/main/res/xml/pref_settings.xml b/app-common/src/main/res/xml/pref_settings.xml index f5ec170..39d64f3 100644 --- a/app-common/src/main/res/xml/pref_settings.xml +++ b/app-common/src/main/res/xml/pref_settings.xml @@ -26,6 +26,16 @@ app:key="pref_notifications_disable" /> + + + +