fix: set the content to binding.root view

This commit is contained in:
jubb 2022-02-08 13:36:49 +11:00
parent 53127b69de
commit bf7a6e7b54
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ class WebRtcCallActivity : PassphraseRequiredActionBarActivity() {
override fun onCreate(savedInstanceState: Bundle?, ready: Boolean) {
super.onCreate(savedInstanceState, ready)
binding = ActivityWebrtcBinding.inflate(layoutInflater)
setContentView(binding.root)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) {
setShowWhenLocked(true)
setTurnScreenOn(true)