Use a raw key for the SDK stores for new sessions (#6835)
* Use a raw key for the SDK stores for new sessions - Add `ClientSecret` to tell apart the legacy passphrases from the raw keys and centralise parsing/formatting. - Use the `ClientSecret` to set the passphrase/key in the `SqliteStoreBuilder`.
This commit is contained in:
committed by
GitHub
parent
dd48582313
commit
d7af6c0d0a
+3
-2
@@ -56,8 +56,9 @@ class DefaultAnalyticsColdStartWatcher(
|
||||
|
||||
override fun onRoomListVisible() {
|
||||
if (isColdStart.getAndSet(false)) {
|
||||
Timber.d("Room list is visible, finishing cold start check")
|
||||
analyticsService.finishLongRunningTransaction(AnalyticsLongRunningTransaction.ColdStart)
|
||||
analyticsService.finishLongRunningTransaction(AnalyticsLongRunningTransaction.ColdStart) {
|
||||
Timber.d("Room list is visible, finishing cold start check. Elapsed: ${it.duration}")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user