Skip to content

Commit

Permalink
Update App.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisDemyanko committed Dec 23, 2021
1 parent 8744fb3 commit bfcf92e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/mw/beam/beamwallet/core/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ class App : Application() {
}

fun stopBackgroundService() {

val jobScheduler: JobScheduler = getSystemService(Context.JOB_SCHEDULER_SERVICE) as JobScheduler
jobScheduler.cancelAll()
}
Expand Down

0 comments on commit bfcf92e

Please sign in to comment.