Skip to content

Commit

Permalink
[Calling][Bug] Do not need to kill call composite when DemoApp activi…
Browse files Browse the repository at this point in the history
…ty is closed (#1028)
  • Loading branch information
pavelprystinka committed Jun 20, 2024
1 parent a12c667 commit bf99a66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ class CallLauncherActivity : AppCompatActivity() {
unregisterReceiver(callLauncherBroadCastReceiver)
DismissCompositeButtonView.get(this).hide()
DismissCompositeButtonView.buttonView = null
(application as CallLauncherApplication).onDestroy()
}

// check whether new Activity instance was brought to top of stack,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@ class CallLauncherApplication : Application() {
}
return callCompositeManager!!
}

fun onDestroy() {
callCompositeManager?.dismissCallComposite()
callCompositeManager = null
}
}

0 comments on commit bf99a66

Please sign in to comment.