File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
firebase-sessions/src/main/kotlin/com/google/firebase/sessions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,18 +37,18 @@ internal data class SessionInfo(
37
37
* @hide
38
38
*/
39
39
internal class SessionGenerator (collectEvents : Boolean ) {
40
+ private var firstSessionId = " "
41
+ private var sessionIndex: Int = - 1
42
+ private var collectEvents = collectEvents
43
+
40
44
private var thisSession: SessionInfo =
41
45
SessionInfo (
42
46
sessionId = " " ,
43
47
firstSessionId = " " ,
44
48
collectEvents = collectEvents,
45
- sessionIndex = - 1
49
+ sessionIndex = sessionIndex
46
50
)
47
51
48
- private var firstSessionId = " "
49
- private var sessionIndex: Int = - 1
50
- private var collectEvents = collectEvents
51
-
52
52
// Generates a new Session ID. If there was already a generated Session ID
53
53
// from the last session during the app's lifecycle, it will also set the last Session ID
54
54
fun generateNewSession () {
You can’t perform that action at this time.
0 commit comments