From 6d94ade3da6e8142b5ab05a583dfeec14871a69f Mon Sep 17 00:00:00 2001 From: Kyriakos Sidiropoulos Date: Fri, 12 Apr 2024 15:02:09 +0200 Subject: [PATCH] upgrade (Laerdal.Dfu.csproj): Laerdal.Dfu.Bindings.Android ver 2.3.0.43685 -> 2.3.0.43876 --- Laerdal.Dfu/Laerdal.Dfu.csproj | 3 ++- Laerdal.Dfu/Platforms/Android/Specific/DfuLogger.cs | 2 ++ Laerdal.Scripts/Laerdal.Builder.targets | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Laerdal.Dfu/Laerdal.Dfu.csproj b/Laerdal.Dfu/Laerdal.Dfu.csproj index b7876b5..11479c7 100644 --- a/Laerdal.Dfu/Laerdal.Dfu.csproj +++ b/Laerdal.Dfu/Laerdal.Dfu.csproj @@ -29,8 +29,9 @@ - + + diff --git a/Laerdal.Dfu/Platforms/Android/Specific/DfuLogger.cs b/Laerdal.Dfu/Platforms/Android/Specific/DfuLogger.cs index 8bc9eb2..3f4a58b 100644 --- a/Laerdal.Dfu/Platforms/Android/Specific/DfuLogger.cs +++ b/Laerdal.Dfu/Platforms/Android/Specific/DfuLogger.cs @@ -10,12 +10,14 @@ public class DfuLogger : Java.Lang.Object, Laerdal.Dfu.Bindings.Android.IDfuLogL public DfuLogger(string deviceAddress) { DeviceAddress = deviceAddress; + Laerdal.Dfu.Bindings.Android.DfuServiceListenerHelper.RegisterLogListener(Android.App.Application.Context, this); } protected override void Dispose(bool disposing) { Laerdal.Dfu.Bindings.Android.DfuServiceListenerHelper.UnregisterLogListener(Android.App.Application.Context, this); + base.Dispose(disposing); } diff --git a/Laerdal.Scripts/Laerdal.Builder.targets b/Laerdal.Scripts/Laerdal.Builder.targets index 59ebbb0..8936826 100644 --- a/Laerdal.Scripts/Laerdal.Builder.targets +++ b/Laerdal.Scripts/Laerdal.Builder.targets @@ -1,12 +1,8 @@ - - - -