-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Migrating Rxjava to coroutines #1 #4437
Conversation
77eb7cc
to
11ea134
Compare
a7c103f
to
b1ca3ca
Compare
|
||
override fun onError(e: Throwable) { | ||
} catch (e: Exception) { | ||
withContext(Dispatchers.Main) { |
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.
it's not the scope of this PR (so should not be done in this PR) and it was already with RxJava:
When something goes wrong and the exception is thrown or onError was triggered, this will result in an endless loop as the preference is set and immediately triggers the readPrivacyFlow again.
|
||
override fun onError(e: Throwable) { | ||
} catch (e: Exception) { | ||
withContext(Dispatchers.Main) { |
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.
same endless loop situation as with read privacy. Not to be solved in this PR
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/4437-talk.apk |
/backport to stable-20.0 |
Resolve #4410
🚧 TODO
🏁 Checklist
/backport to stable-xx.x