Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
Linhome-Android
Commits
94102c00
Commit
94102c00
authored
Oct 14, 2021
by
Christophe Deschamps
Browse files
Release video window when not used anymore
parent
28edf4ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app/src/main/java/org/linhome/ui/call/CallInProgressActivity.kt
...c/main/java/org/linhome/ui/call/CallInProgressActivity.kt
+1
-0
app/src/main/java/org/linhome/ui/call/CallIncomingActivity.kt
...src/main/java/org/linhome/ui/call/CallIncomingActivity.kt
+5
-0
No files found.
app/src/main/java/org/linhome/ui/call/CallInProgressActivity.kt
View file @
94102c00
...
...
@@ -119,6 +119,7 @@ class CallInProgressActivity : CallGenericActivity() {
if
(
coreContext
.
core
.
callsNb
>
0
)
{
coreContext
.
createCallOverlay
()
}
coreContext
.
core
.
nativeVideoWindowId
=
null
super
.
onPause
()
}
...
...
app/src/main/java/org/linhome/ui/call/CallIncomingActivity.kt
View file @
94102c00
...
...
@@ -78,4 +78,9 @@ class CallIncomingActivity : CallGenericActivity() {
if
(
callViewModel
.
videoFullScreen
.
value
!!
)
binding
.
root
.
videofullscreen
else
binding
.
root
.
videocollapsed
}
override
fun
onPause
()
{
coreContext
.
core
.
nativeVideoWindowId
=
null
super
.
onPause
()
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment