Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
SheTieJun committed Mar 25, 2024
1 parent c5e3f75 commit c948cbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RecordActivity : BaseActivity<EmptyPresenter>(), EventCallback {
}


override fun onActivityCreate() {
override fun initBaseView() {
statuInScreen(true)
canRecord()
mFrameLayout = findViewById(R.id.frameLayout)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,11 @@ object MediaRecorderKit {
}

fun pause(){
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
mMediaRecorder?.pause()
}
mMediaRecorder?.pause()
}

fun resume(){
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
mMediaRecorder?.resume()
}
mMediaRecorder?.resume()
}


Expand Down

0 comments on commit c948cbc

Please sign in to comment.