From 9fbadba7e06960fd997f10d3f4ea81f320e734ba Mon Sep 17 00:00:00 2001 From: darken Date: Tue, 21 Jan 2025 00:14:24 +0100 Subject: [PATCH] Reduce debug log spam --- .../src/main/java/eu/darken/sdmse/common/pkgs/PkgRepo.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-common-pkgs/src/main/java/eu/darken/sdmse/common/pkgs/PkgRepo.kt b/app-common-pkgs/src/main/java/eu/darken/sdmse/common/pkgs/PkgRepo.kt index b7972cabe..78d95ceb5 100644 --- a/app-common-pkgs/src/main/java/eu/darken/sdmse/common/pkgs/PkgRepo.kt +++ b/app-common-pkgs/src/main/java/eu/darken/sdmse/common/pkgs/PkgRepo.kt @@ -42,7 +42,7 @@ class PkgRepo @Inject constructor( private val userManager: UserManager2, ) { - private val cache = DynamicStateFlow(TAG, appScope + dispatcherProvider.IO) { + private val cache = DynamicStateFlow(if (Bugs.isTrace) TAG else null, appScope + dispatcherProvider.IO) { log(TAG, INFO) { "Initializing pkg cache" } generateCacheContainer() }