From 4986e9713bda7290c6ebd4dc99aff3d55af56728 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 26 Nov 2021 09:36:55 +0000 Subject: [PATCH 1/2] stopping the guard service on sign out - fixes the listening the notifications lingering around when it's not needed --- .../src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt index 6b7b5f7f62..5d8d5db3fe 100644 --- a/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt +++ b/vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt @@ -71,6 +71,7 @@ class ActiveSessionHolder @Inject constructor(private val sessionObservableStore keyRequestHandler.stop() incomingVerificationRequestHandler.stop() pushRuleTriggerListener.stop() + guardServiceStarter.stop() } fun hasActiveSession(): Boolean { From a0ffc5988f5210f7e06efeeb6db46c694af96d23 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Fri, 26 Nov 2021 09:57:58 +0000 Subject: [PATCH 2/2] adding changelog entry --- changelog.d/4488.bugfix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/4488.bugfix diff --git a/changelog.d/4488.bugfix b/changelog.d/4488.bugfix new file mode 100644 index 0000000000..a0b4aa661e --- /dev/null +++ b/changelog.d/4488.bugfix @@ -0,0 +1 @@ +Dismissing the Fdroid variant Listening for notifications on sign out, fixes crash when tapping the notification when signed out \ No newline at end of file