-
Notifications
You must be signed in to change notification settings - Fork 617
Removes unecessary setup code from FirebaseSessions and SessionInitia… #5436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
The public api surface has changed for the subproject firebase-sessions: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
1 similar comment
The public api surface has changed for the subproject firebase-sessions: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
import kotlin.coroutines.CoroutineContext | ||
|
||
/** Container for injecting dispatchers. */ | ||
class Dispatchers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this whole class be internal and then not need internal on everything else?
Also could this be a data class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
* Lifecycle callbacks that will inform the [SessionLifecycleClient] whenever an [Activity] in | ||
* this application process goes foreground or background. | ||
*/ | ||
private val activityLifecycleCallbacks = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has no reference to any instance anymore. Could this be extracted into a top level object in its own file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Size Report 1Affected Products
Test Logs |
…tor.