Commit a20690f4 authored by Christophe Deschamps's avatar Christophe Deschamps
Browse files

Show controls when dismissing full screen video in call with controls hidden


Former-commit-id: 87c7e26f29bc9666b8c82adebdc755b45216bc17
parent ac575625
......@@ -5,6 +5,7 @@ import android.annotation.SuppressLint
import android.os.Bundle
import android.os.SystemClock
import android.view.MotionEvent
import android.view.View
import androidx.databinding.DataBindingUtil
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
......@@ -64,6 +65,13 @@ class CallInProgressActivity : CallGenericActivity() {
}
true
}
callViewModel.videoFullScreen.observe(this, Observer { full ->
if (!full) {
binding.root.actions.visibility = View.VISIBLE
binding.root.controls.visibility = View.VISIBLE
binding.root.timer.visibility = View.VISIBLE
}
})
startWithPermissionCheck()
} ?: finish()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment