From 40547d375c98259fe548b62477d9cec84799a287 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 1 Mar 2024 11:23:00 +0000
Subject: [PATCH 1/2] Update daggerVersion to v2.51

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 0e1219d41528..c1a6ff4bde18 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ buildscript {
         jacoco_version = '0.8.11'
         kotlin_version = '1.9.22'
         androidxTestVersion = "1.5.0"
-        daggerVersion = "2.50"
+        daggerVersion = "2.51"
         markwonVersion = "4.6.2"
         prismVersion = "2.0.0"
         androidLibraryVersion ="acc7df66e4a43ed7f450136c13753f2743fb245e"

From ef5b6085724d1fc5ff03546c1541a59a195f2005 Mon Sep 17 00:00:00 2001
From: Andy Scherzinger <info@andy-scherzinger.de>
Date: Fri, 1 Mar 2024 15:57:04 +0100
Subject: [PATCH 2/2] Fix injection field visibility for dagger

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
---
 .../main/java/com/nextcloud/client/logger/ui/LogsActivity.kt  | 2 +-
 app/src/main/java/com/nextcloud/client/media/PlayerService.kt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/src/main/java/com/nextcloud/client/logger/ui/LogsActivity.kt b/app/src/main/java/com/nextcloud/client/logger/ui/LogsActivity.kt
index 183b8fe00600..457e24c6efe3 100644
--- a/app/src/main/java/com/nextcloud/client/logger/ui/LogsActivity.kt
+++ b/app/src/main/java/com/nextcloud/client/logger/ui/LogsActivity.kt
@@ -39,7 +39,7 @@ import javax.inject.Inject
 class LogsActivity : ToolbarActivity() {
 
     @Inject
-    protected lateinit var viewModelFactory: ViewModelFactory
+    lateinit var viewModelFactory: ViewModelFactory
 
     @Inject
     lateinit var viewThemeUtils: ViewThemeUtils
diff --git a/app/src/main/java/com/nextcloud/client/media/PlayerService.kt b/app/src/main/java/com/nextcloud/client/media/PlayerService.kt
index a7cf6bb5479c..009c51887976 100644
--- a/app/src/main/java/com/nextcloud/client/media/PlayerService.kt
+++ b/app/src/main/java/com/nextcloud/client/media/PlayerService.kt
@@ -88,10 +88,10 @@ class PlayerService : Service() {
     }
 
     @Inject
-    protected lateinit var audioManager: AudioManager
+    lateinit var audioManager: AudioManager
 
     @Inject
-    protected lateinit var clientFactory: ClientFactory
+    lateinit var clientFactory: ClientFactory
 
     @Inject
     lateinit var viewThemeUtils: ViewThemeUtils