-
Notifications
You must be signed in to change notification settings - Fork 767
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 various crashes an 1.5.30, observed when no network is available. #8542
Conversation
… network when displaying the BootstrapBottomSheet.
…and there is no network.
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.
LGTM, we just need to apply it on top of the new code I guess
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.
LGTM juqt a quick comment
@@ -82,7 +83,9 @@ internal class SyncResponsePostTreatmentAggregatorHandler @Inject constructor( | |||
} | |||
} | |||
if (hasUpdate) { | |||
updateUserAccountDataTask.execute(UpdateUserAccountDataTask.DirectChatParams(directMessages = directChats)) | |||
tryOrNull("Unable to update user account data") { |
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.
If it fails will it retry next sync or is lost?
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.
If it fails, it will not be retried on next sync.
Replaced by #8578 on top of develop. |
Type of change
Content
Fix several crashes observed when the device cannot reach the homeserver. The main change is regarding the BootstrapBottomSheet. There is new screen displayed when the device is not able to get the KeyBackup status:
The others fixes are smaller, into dedicated commits.
Note This PR is base on Element Android 1.5.30 version (commit 0b09a51) but will be created again on the latest develop branch.
Motivation and context
Improve stability of the application.
Screenshots / GIFs
Tests
Set up Secure Backup
inSettings
/Security & Privacy
Allow integration
inSettings
/General
Tested devices
Checklist