-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues with stuck 'loading...' state and hangup #1690
Fix issues with stuck 'loading...' state and hangup #1690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 remarks, else LGTM. The tests have to be updated.
@@ -90,10 +94,19 @@ class CallScreenPresenter @AssistedInject constructor( | |||
.onEach { | |||
// Relay message to Widget Driver | |||
callWidgetDriver.value?.send(it) | |||
println(it) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange to see println
here. Use Timber or remove the temporary log?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, I deleted a couple of other temporary logs, but I forgot about this one.
@@ -59,6 +62,7 @@ class CallScreenPresenter @AssistedInject constructor( | |||
|
|||
private val isInWidgetMode = callType is CallType.RoomCall | |||
private val userAgent = userAgentProvider.provide() | |||
private var joinedCall = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a rememberSaveable
?
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1690 +/- ##
===========================================
- Coverage 63.70% 63.68% -0.03%
===========================================
Files 1267 1267
Lines 32834 32835 +1
Branches 6797 6796 -1
===========================================
- Hits 20918 20910 -8
- Misses 8780 8789 +9
Partials 3136 3136
☔ View full report in Codecov by Sentry. |
Type of change
Content
extraCapacity
to the flows that relay messages between the Widget and the Rust Widget Driver to make sure we don't drop any messages. This was causing a stuck 'Loading...' state to be shown from time to time.Motivation and context
Bugfixes.
Tested devices
Checklist