diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/SettingsPreferenceFragment.kt b/mobile/src/main/java/be/mygod/vpnhotspot/SettingsPreferenceFragment.kt index 4824f918..d8ec6bb8 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/SettingsPreferenceFragment.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/SettingsPreferenceFragment.kt @@ -56,9 +56,6 @@ class SettingsPreferenceFragment : PreferenceFragmentCompat() { "./iptables-save" } commands.append(""" - |echo logcat-su - |logcat -d - |echo |echo dumpsys ${Context.WIFI_P2P_SERVICE} |dumpsys ${Context.WIFI_P2P_SERVICE} |echo @@ -70,6 +67,9 @@ class SettingsPreferenceFragment : PreferenceFragmentCompat() { |echo |echo ip rule |ip rule + |echo + |echo logcat-su + |logcat -d """.trimMargin()) try { loggerSuStream(commands.toString())?.use { it.copyTo(out) }