mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 10:17:56 +00:00
Don't show volume indicator nor switch camera button until incoming call connects.
This commit is contained in:
@@ -54,6 +54,8 @@ class AudioIndicatorView(context: Context, attrs: AttributeSet) : FrameLayout(co
|
||||
fun bind(microphoneEnabled: Boolean, level: CallParticipant.AudioLevel?) {
|
||||
setBackgroundResource(R.drawable.circle_tintable)
|
||||
|
||||
this.visible = !microphoneEnabled || level != null
|
||||
|
||||
micMuted.visible = !microphoneEnabled
|
||||
|
||||
val wasShowingAudioLevel = showAudioLevel
|
||||
|
||||
Reference in New Issue
Block a user