delete old file
This commit is contained in:
@@ -123,7 +123,6 @@ class MainActivity : AppCompatActivity() {
|
||||
putExtra("useFrontCamera", useFrontCamera)
|
||||
}
|
||||
startForegroundService(serviceIntent)
|
||||
// startService(serviceIntent)
|
||||
}
|
||||
|
||||
private fun stopRecordingService() {
|
||||
@@ -131,7 +130,6 @@ class MainActivity : AppCompatActivity() {
|
||||
val serviceIntent = Intent(this, RecordingService::class.java).apply {
|
||||
action = RecordingService.ACTION_STOP_RECORDING
|
||||
}
|
||||
stopForeground(STOP_FOREGROUND_DETACH)
|
||||
stopService(serviceIntent)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user