From 97b8acb8073a8ba5be0e2dcebbac78fd1a940435 Mon Sep 17 00:00:00 2001 From: Didier Garcia Date: Wed, 23 Oct 2024 23:42:54 -0400 Subject: [PATCH] feat: make storage internal and not publicly accessible. --- .../main/java/com/segment/analytics/kotlin/core/Analytics.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/segment/analytics/kotlin/core/Analytics.kt b/core/src/main/java/com/segment/analytics/kotlin/core/Analytics.kt index a93c6842..8ec843f8 100644 --- a/core/src/main/java/com/segment/analytics/kotlin/core/Analytics.kt +++ b/core/src/main/java/com/segment/analytics/kotlin/core/Analytics.kt @@ -43,7 +43,7 @@ open class Analytics protected constructor( } // use lazy to avoid the instance being leak before fully initialized - val storage: Storage by lazy { + internal val storage: Storage by lazy { configuration.storageProvider.getStorage( analytics = this, writeKey = configuration.writeKey,