* Simplifying profile picture view
We don't need the isLarge option as the component's size is always set.
Using profilePictureView in the call screen.
* Swapping avatars between user and contact's
* Adding the user's avatar for when it needs to be displayed
* Making sure we never invert the contact's landscape rotation
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* Update app/src/main/java/org/thoughtcrime/securesms/calls/WebRtcCallActivity.kt
Co-authored-by: Andrew <andrewgallasch@gmail.com>
---------
Co-authored-by: Andrew <andrewgallasch@gmail.com>
* Added check to not update display name if offline or should config sync fail
* Addressed PR feedback
* WIP
* Addressed PR feedback
* Adjusted phrasing of log statement
---------
Co-authored-by: alansley <aclansley@gmail.com>
* WIP: swap video views
* feat: swap video views
* minor fixes
* minor fix
* minor fix
* update libsession-util
* Revert "update libsession-util"
This reverts commit 0d386e706e.
* reverse updating libsession-util
* update libsession-util
* Tweaking colors to match designs
* More theme fixes
* WebRTC rework
Only using two sinks and swapping between them
Reworked the device rotation logic as it didn't work well with pitch ( you could tip the device front to back and the rotation went out of whack, so had to resort to more robust calculation for the device orientation.
Had to use a deprecated sensor setting but it's the only one I could use that works.
* Video management logic update
Rounded corners for floating inset
Proper handling of video scaling based on video proportions
Proper handling of mirroring logic for floating/fullscreen videos depending on whether they are the user or the remote video and whether the camera is front facing or not
* Showing floating video inset only when there is at least one video stream active, hiding it when both are inactive
* Rotating controls on rotation
* Clean up
* Review feedback
* OrientationManager
The new OrientationManager encapsulate the orientation logic and sends out a mutable state flow
* PR feedback
---------
Co-authored-by: Ryan Zhao <ryanzhaors@qq.com>
Co-authored-by: Ryan ZHAO <>
* Profile picture upload fail informs user
* End of day push
* Push before trying with okhttp library update
* WIP
* Further WIP
* Add additional debug comments
* Push before cleanup
* Cleaned up
* More cleanup
* Minor adjustment
* Final cleanup prior to PR review
* Removed commented out old conscrypt version import
* Addressed PR feeback from Fanchao
---------
Co-authored-by: alansley <aclansley@gmail.com>