element-hq / element-x-android

Android Matrix messenger application using the Matrix Rust Sdk and Jetpack Compose
GNU Affero General Public License v3.0
1.09k stars 156 forks source link

Fix element call crash when resuming from notification #3926

Closed bmarty closed 7 hours ago

bmarty commented 16 hours ago

Content

Ensure that when the call is resume when clicking on the notification, the app does not crash.

Seems that this is a regression from #3833.

Motivation and context

Fix #3905

Screenshots / GIFs

Tests

Tested devices

Checklist

github-actions[bot] commented 16 hours ago

:iphone: Scan the QR code below to install the build (arm64 only) for this PR. QR code If you can't scan the QR code you can install the build via this link: https://i.diawi.com/qjZuQR

sonarcloud[bot] commented 16 hours ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

codecov[bot] commented 16 hours ago

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 82.99%. Comparing base (5a6525a) to head (0a1c441). Report is 11 commits behind head on develop.

Files with missing lines Patch % Lines
...droid/features/call/impl/ui/ElementCallActivity.kt 0.00% 15 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #3926 +/- ## =========================================== - Coverage 83.00% 82.99% -0.01% =========================================== Files 1788 1788 Lines 45210 45213 +3 Branches 5335 5337 +2 =========================================== Hits 37526 37526 - Misses 5810 5813 +3 Partials 1874 1874 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: