Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
stop recorder service on stop recording
Browse files Browse the repository at this point in the history
  • Loading branch information
kik-btaski committed Jan 20, 2024
1 parent 172fa28 commit fff404e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ abstract class RecorderService : Service() {
}

ServiceCompat.stopForeground(this, ServiceCompat.STOP_FOREGROUND_REMOVE)
stopSelf()
super.onDestroy()
}

Expand Down

0 comments on commit fff404e

Please sign in to comment.