It seems setWebRtcBasedAcousticEchoCanceler and setBlacklistDeviceForOpenSLESUsage are no longer available.
What this means is unclear and the new library might be handling certain things internally
Cleaned up references to TextDrawable.
Also cleaned up the way we load layered drawables, used in ProfilePictureView for the load state as the icons were stretched across and didn't look nice.
* Snode version number
Getting the version number from the API and checking the last node in the onion routing, making sure its version is at least 2.8.0
* Clearing the snode and onion request dbs on launch
* Removing logs
* Tweak to snode filtering
* PR feedback
* Moving color files
* Moving theme classes into their own package
* Only obtain new theme when required
* UI Tweaks
Using the proper color for danger as opposed to one hardcoded color
Reusing BlackAlpha40
Using the right delete icon in settings
* matching figma
* Matching signature across buttons
* Dialogs do not have a 'x' button by default
* Updated typography
Updated the typography in an composition local so it can be accessed from anyehere in compose and matching the figma declarations.
* Centered text in control messages
* Fixing new color access for action items
* renaming spacing to be more general
* Unifying dimensions and rectifying design inconsistencies
Unifying spacing values and reusing common ones
Identified spacing issues and inconsistencies in design and figma
* Rounded corners for the new conversation sheet
* Rounding sheets corners
* Spacing fixes and UI consolidating
Discussed with QA to make sure the 'new message' screen should indeed behave as the other screens and use disabled state instead of disappearing
* Disappearing messages tweaks
Re-using our new radio buttons in disappearing messages
Tweaking UI to match designs
* Cleaning up spaces
* Migrating to Material3
* Fixing UI issues found
* PR feedbacks
---------
Co-authored-by: bemusementpark <bemusementpark>
* 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 0d386e706e78d86147728cccb80636d920006d98.
* 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>
* Fix issue with span being the full length (#1528)
* Proper display of unresolved names in mentions (#1530)
* Fix issue with span being the full length
* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is
* Testnet build (#1532)
Co-authored-by: fanchao <git@fanchao.dev>
* Allow "public.loki.foundation" to be accessed by http (#1534)
Co-authored-by: fanchao <git@fanchao.dev>
* Bumping the version code and name
* Reverting temporary change
---------
Co-authored-by: Fanchao Liu <273191+simophin@users.noreply.github.com>
Co-authored-by: fanchao <git@fanchao.dev>
* Fix issue with span being the full length
* Making sure a mention with a username without a resolved name still displayed with the appropriate style with the truncated is
* Initial working push with debug comments
* Fixes#1522
* Cleanup, prevent multi-pointer recording, and don't show short msg toast if locked to record quickly
* Adjusted comment phrasing
* Fix comment phrasing
* Fixed inadvertant short voice message toast on exit conversation activity
* Comment adjustment
* Comment phrasing
* Adjusted AudioRecorder.startRecording to take a callback function rather than the InputBar
* Performed Thomas' PR feedback
* Move comment to more relevant place
* Removed unused / leftover callback definition
* Removed all redundant null checks after asserting binding is not null
* Removed remaining not-null assertions & added some logged feedback to fail states
* Addressed PR feedback
* Implemented additional PR feedback
* Adjusted InputBar property visibility as per PR feedback & adjusted Toast string following discussion with Lucy
* Minor adjustment to inform user if we see an obvious network issue when sending a voice message - also tweak the locked Cancel button size to prevent text entry when locked to voice recording
* Adjust comment phrasing following further testing
* Added TODO comments to replace hard-coded string in toasts
* Addressed Thomas PR feedback suggestion
* Addressed another feedback suggestion
* Adjustment to continue informing user of network / node path issues
* Improved & moved network check method
* Corrected ticket number into TODO comments
* Addressed Andy PR feedback
* Adjust network connectivity checks to just log issues rather than inform the user (as per Rebecca / Kee convo)
---------
Co-authored-by: alansley <aclansley@gmail.com>
* WIP
* Push before attempting some HTTPRequestFailedException rate limiting
* Functionality now works
* Merging dev resulted in some subproject commit change so pushing that
* Fixes#1525
* Addressed Andy PR feedback
* Addressed further PR feedback from Andy
---------
Co-authored-by: alansley <aclansley@gmail.com>