-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always start a new session span after a manual session end (#1167)
## Goal Manual session ends only started a new session span if background activity is enabled. This is because there's ambiguity in how we decided whether we should new session span. To address this, I've consolidated the decision in the `FinalEvelopeParam` definition and removed it from the `SessionSnapshotType`, what is defined in FinalEvelopeParam is the ultimate arbitor. ## Testing Added additional testing to verify the correctness at the PayloadFactory level as well as the PayloadMessageCollator level.
- Loading branch information
1 parent
e8b7fb4
commit e2f104a
Showing
7 changed files
with
49 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 0 additions & 75 deletions
75
...dk/src/test/java/io/embrace/android/embracesdk/session/message/FinalEnvelopeParamsTest.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters