From b32fab390e72c1533c178be0e17ea4a5e8f89974 Mon Sep 17 00:00:00 2001 From: S1m Date: Wed, 2 Jun 2021 13:01:14 +0200 Subject: [PATCH] clean code --- vector/src/main/AndroidManifest.xml | 4 ---- .../app/features/settings/troubleshoot/TestAutoStartBoot.kt | 1 - .../features/settings/troubleshoot/TestBatteryOptimization.kt | 1 - .../app/features/settings/troubleshoot/TestNewEndpoint.kt | 3 ++- .../features/settings/troubleshoot/TestPushFromPushGateway.kt | 1 - 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/vector/src/main/AndroidManifest.xml b/vector/src/main/AndroidManifest.xml index 0cc1b7c178..ba820cc3a7 100644 --- a/vector/src/main/AndroidManifest.xml +++ b/vector/src/main/AndroidManifest.xml @@ -357,10 +357,6 @@ android:name=".features.settings.troubleshoot.TestNotificationReceiver" android:exported="false" /> - - ) { status = TestStatus.RUNNING diff --git a/vector/src/main/java/im/vector/app/features/settings/troubleshoot/TestPushFromPushGateway.kt b/vector/src/main/java/im/vector/app/features/settings/troubleshoot/TestPushFromPushGateway.kt index 9d6a0cfe73..2b17694839 100644 --- a/vector/src/main/java/im/vector/app/features/settings/troubleshoot/TestPushFromPushGateway.kt +++ b/vector/src/main/java/im/vector/app/features/settings/troubleshoot/TestPushFromPushGateway.kt @@ -45,7 +45,6 @@ class TestPushFromPushGateway @Inject constructor(private val context: AppCompat private var action: Job? = null private var pushReceived: Boolean = false - override fun perform(activityResultLauncher: ActivityResultLauncher) { pushReceived = false UPHelper.getUpEndpoint(context) ?: run {