Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

Commit

Permalink
code refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
befora committed Aug 26, 2018
1 parent 05205a1 commit f21aab5
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ class IntentService : IntentService("KUBOO_NOTIFICATION") {
}

private fun handleCancel() {
Timber.i("CANCEL_ACTION")
Timber.i(CANCEL_ACTION)
kubooRemote.cancelAll()
}

private fun handlePause() {
Timber.i("PAUSE_ACTION")
Timber.i(PAUSE_ACTION)
kubooRemote.pauseAll()
}

private fun handleResume() {
Timber.i("RESUME_ACTION")
Timber.i(RESUME_ACTION)
kubooRemote.resumeAll()
}

companion object {
val CANCEL_ACTION = "CANCEL_ACTION"
val PAUSE_ACTION = "PAUSE_ACTION"
val RESUME_ACTION = "RESUME_ACTION"
const val CANCEL_ACTION = "CANCEL_ACTION"
const val PAUSE_ACTION = "PAUSE_ACTION"
const val RESUME_ACTION = "RESUME_ACTION"
}

}

0 comments on commit f21aab5

Please sign in to comment.