Commit 9f2db3e
authored
Fix Element Call closing automatically on API 34 (#3402)
* Fix Element Call closing automatically on API 34
It seems like registering a user leave hint listener way too early was causing the activity to try to enter PiP erroneously and that led to the activity closing instead.1 parent 15e4d07 commit 9f2db3e
File tree
1 file changed
+7
-3
lines changed- features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui
1 file changed
+7
-3
lines changedfeatures/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/ElementCallActivity.kt
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
131 | | - | |
| 133 | + | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 | | |
136 | | - | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
0 commit comments