From 039d3783abfc8d7d3706ceb0a90578b92652b908 Mon Sep 17 00:00:00 2001 From: evgeny Date: Fri, 15 Sep 2023 14:49:26 +0100 Subject: [PATCH] fix: do not clear ably client on reset --- android/src/main/java/io/ably/lib/push/ActivationContext.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/android/src/main/java/io/ably/lib/push/ActivationContext.java b/android/src/main/java/io/ably/lib/push/ActivationContext.java index b0db2e6ad..f1a0f0a35 100644 --- a/android/src/main/java/io/ably/lib/push/ActivationContext.java +++ b/android/src/main/java/io/ably/lib/push/ActivationContext.java @@ -116,8 +116,6 @@ public void onNewRegistrationToken(RegistrationToken.Type type, String token) { public void reset() { Log.v(TAG, "reset()"); - ably = null; - getActivationStateMachine().reset(); activationStateMachine = null;