Skip to content

Commit be31bbb

Browse files
authored
remove analytics reference from AndroidStorage (#25)
1 parent 85c7c23 commit be31bbb

File tree

2 files changed

+0
-3
lines changed
  • android/src

2 files changed

+0
-3
lines changed

android/src/main/java/com/segment/analytics/kotlin/android/Storage.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import java.io.File
1717

1818
// Android specific
1919
class AndroidStorage(
20-
internal val analytics: Analytics,
2120
context: Context,
2221
private val store: Store,
2322
writeKey: String,
@@ -104,7 +103,6 @@ object AndroidStorageProvider : StorageProvider {
104103
application: Any
105104
): Storage {
106105
return AndroidStorage(
107-
analytics = analytics,
108106
store = store,
109107
writeKey = writeKey,
110108
ioDispatcher = ioDispatcher,

android/src/test/java/com/segment/analytics/kotlin/android/StorageTests.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class StorageTests {
5252
)
5353

5454
androidStorage = AndroidStorage(
55-
mockAnalytics(),
5655
mockContext,
5756
store,
5857
"123",

0 commit comments

Comments
 (0)