Skip to content

Commit

Permalink
Looking for the differences..
Browse files Browse the repository at this point in the history
  • Loading branch information
petrnalevka committed Aug 9, 2020
1 parent 85edf60 commit 7a2dd81
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.util.Log
import java.util.*

class RecordingReceiver : BroadcastReceiver() {

override fun onReceive(context: Context?, intent: Intent?) {
Log.i(TAG, "Broadcast received")
context?.apply {
Log.i(TAG , "Foreground service will start at ${Date(System.currentTimeMillis() + 60000)}")
RecordingService.scheduleStart(this, 1)
RecordingService.startService(this)
}
}
}

0 comments on commit 7a2dd81

Please sign in to comment.