Removed useless code, by default SDK believes Android is in background
This commit is contained in:
parent
e61ee2981e
commit
edeb854ab3
1 changed files with 1 additions and 6 deletions
|
@ -276,7 +276,7 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
Log.i("[Context] Ready")
|
||||
}
|
||||
|
||||
fun start(isPush: Boolean = false) {
|
||||
fun start() {
|
||||
Log.i("[Context] Starting")
|
||||
|
||||
core.addListener(listener)
|
||||
|
@ -294,11 +294,6 @@ class CoreContext(val context: Context, coreConfig: Config) {
|
|||
}
|
||||
}
|
||||
|
||||
if (isPush) {
|
||||
Log.i("[Context] Push received, assume in background")
|
||||
core.enterBackground()
|
||||
}
|
||||
|
||||
configureCore()
|
||||
|
||||
core.start()
|
||||
|
|
Loading…
Reference in a new issue