Commit Graph

14459 Commits

Author SHA1 Message Date
Jorge Martín d82e508e4f Merge tag 'v26.03.0' into develop
v26.03.0
2026-02-24 17:06:29 +01:00
Jorge Martín 01aeca7121 Merge branch 'release/26.03.0' 2026-02-24 17:06:22 +01:00
Jorge Martín d604f78842 Adding fastlane file for version 26.03.0 2026-02-24 17:04:34 +01:00
Jorge Martín c546ce7f81 Setting version for the release 26.03.0 2026-02-24 17:04:32 +01:00
renovate[bot] aa61f34dcd Update dependency org.matrix.rustcomponents:sdk-android to v26.03.0 (#6242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-24 16:05:21 +01:00
Benoit Marty c91c78171e Merge pull request #6238 from element-hq/feature/bma/importFromClassic
Ensure that Element X can use the service from Element Classic.
2026-02-24 15:58:16 +01:00
Jorge Martin Espinosa ce3df764ba Add extra analytics for notification performance (#6237)
* Add extra analytics for notification performance

Add technical spans to track how long a notification fetching work request takes to run, then how long it takes to actually fetch the events for the notifications

* Remove `withContext(io)` for `FetchNotificationsWorker`

The default `Dispatchers.Default` dispatcher used should be good enough and more performant

* Add network check span
2026-02-24 13:39:32 +01:00
Jorge Martin Espinosa 001d419afd Catch exceptions when setting or clearing an audio communication device in Element Call (#6226) 2026-02-24 13:38:53 +01:00
ganfra a36243ca80 Merge pull request #6218 from element-hq/renovate/kotlin
Update kotlin to v2.3.6
2026-02-24 13:37:26 +01:00
Jorge Martin Espinosa dfde64b466 Remove runBlocking call to restore sessions when the app starts (#6193)
* Remove `runBlocking` call to restore sessions when the app starts

Sadly, to do this we need to manually handle restoring the state from Appyx using internal values. At least it doesn't seem like they're going to change any time soon (or ever).

This should take care of a few ANRs, although it may make loading the initial state a bit slower

* Add `ReplaceAllOperation` for state restoration

* Add warning comment for Appyx dependency
2026-02-24 09:51:43 +00:00
renovate[bot] beaf59ad97 Update dependency io.github.zxing-cpp:android to v3 (#6170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 18:17:06 +01:00
Benoit Marty 1e8bbedaf4 Fix release build. 2026-02-23 18:13:55 +01:00
Benoit Marty 920ea9a3f5 Improve element gallery header (#6239)
* Improve header of Element Gallery.

* Add click to copy url to screenshot header and each screenshot row.
2026-02-23 17:58:47 +01:00
Benoit Marty 360b3b3dd1 Fix tests. 2026-02-23 17:32:53 +01:00
Jorge Martin Espinosa 8877f1010c Disable the cross-process lock in the SDK (#6231)
* Disable the cross-process lock in the SDK

We don't use multiple process as iOS does, so we don't need it. It should improve DB performance a bit and overall waste less resources.
2026-02-23 15:31:59 +00:00
renovate[bot] 82ef2e0f99 Update dependency com.posthog:posthog-android to v3.32.2 (#6230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-23 13:38:13 +01:00
renovate[bot] e32874686d Merge pull request #6214 from element-hq/renovate/org.unifiedpush.android-connector-3.x
Update dependency org.unifiedpush.android:connector to v3.3.1
2026-02-23 13:37:34 +01:00
Benoit Marty 1a99057b31 Merge pull request #6194 from vmfunc/feature/audio-focus-voice-recording
request audio focus when recording voice messages
2026-02-23 13:35:57 +01:00
Benoit Marty ff1ffabb10 Merge pull request #6207 from element-hq/sync-localazy
Sync Strings
2026-02-23 13:32:14 +01:00
Benoit Marty 503bbae530 Ensure that Element X can use the service from Element Classic.
Permission "im.vector.app.READ_DATA" is not necessary anymore.
2026-02-23 12:43:42 +01:00
bmarty 25c723c35a Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
renovate[bot] efb20985a0 Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19 (#6229)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.02.19

* Fix breaking API changes: added `isLowPriority` to `RoomInfo` and `RoomSummary`.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-20 09:01:07 +01:00
renovate[bot] 5a9d5beb1e Update dependency io.sentry:sentry-android to v8.33.0 (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-19 08:59:11 +01:00
Jorge Martin Espinosa 7a7a473c82 Add free disk space action to CI actions (#6212)
* Add free disk space action

* Remove 'upload APK for Maestro' step since it's no longer used

* Re-enable tool-cache removal

* Add the free disk space step to other gradle-related jobs

* Use commit SHA

* Disable removing `large-packages`
2026-02-18 22:55:50 +01:00
Jorge Martin Espinosa 23f105442e Remove all video metadata (#6224)
Use `InAppMp4Muxer` with a custom metadata provider that removes all metadata entries
2026-02-18 16:51:44 +00:00
ganfra 5cf05540b7 Merge pull request #6210 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.32.0
2026-02-18 16:41:30 +01:00
renovate[bot] 5fea4d01bf Update kotlin to v2.3.6 2026-02-18 07:36:33 +00:00
Jorge Martin Espinosa b23e2a84f9 Limit the max number of opened rooms in the backstack (#6215)
* Limit the max number of opened rooms in the backstack

This should help with the `TransactionTooLargeExceptions` we were seeing, since every one of these nodes and their sub-nodes would be saved to the instance state.

Also, make sure we use `LoggedInFlowNode.attachRoom` as much as possible to ensure this check is used
2026-02-18 08:34:25 +01:00
ganfra 878b3b29b2 Merge pull request #6216 from element-hq/feature/remove_slide_animation_home
Use fade animation when replacing Placeholder
2026-02-17 14:17:38 +01:00
ganfra 386be21988 Use fade animation when replacing Placeholder 2026-02-17 12:23:35 +01:00
renovate[bot] 8c20770d21 Update dependency org.matrix.rustcomponents:sdk-android to v26.2.16 (#6211)
* Update dependency org.matrix.rustcomponents:sdk-android to v26.2.16

* Fix log rotation breaking changes. The new values match iOS (https://github.com/element-hq/element-x-ios/pull/5108/)

* Fix `aRustRoomInfo()` test fixture

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2026-02-17 10:42:31 +01:00
renovate[bot] 8f0f051fb4 Update dependency com.posthog:posthog-android to v3.32.0 2026-02-16 16:31:26 +00:00
Jorge Martin Espinosa b8865d550d Try to fix common issue with the top app bar (#6187)
The exception is:

> Size(720 x -83) is out of range. Each dimension must be between 0 and 16777215.

So forcing the height to at least 0 should fix it (although it might cause UI glitches?)
2026-02-16 09:42:41 +01:00
renovate[bot] d430f308c1 Update metro to v0.10.4 (#6202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-16 09:30:42 +01:00
Benoit Marty 717b928438 Merge pull request #6177 from element-hq/feature/bma/notificationCustomSound
Let enterprise build be able to use a different notification channel for noisy notification.
2026-02-13 17:32:19 +01:00
Benoit Marty 4b1bffa0e9 Update ref. 2026-02-13 17:09:14 +01:00
Benoit Marty 95f150852c Fix compilation issue after merging develop. 2026-02-13 16:44:42 +01:00
Benoit Marty 35e60efae2 Merge branch 'develop' into feature/bma/notificationCustomSound 2026-02-13 15:48:19 +01:00
Jorge Martin Espinosa 3a565e6065 Remove explicit dependency androix.compose.material (#6199)
* Remove explicit dependency for `androix.compose.material` for compose library modules

* Ensure `Button` uses the `material3.Icon` instead of the `material.Icon`

* Remove entry in `libs.versions.toml`
2026-02-13 15:19:31 +01:00
vmfunc b8099ade7c set willPausedWhenDucked to true for RecordVoiceMessage
per review feedback - need true here so the onFocusLost callback
actually fires on all Android versions

Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 19:50:11 +01:00
Benoit Marty 17cf0efd13 Merge pull request #6190 from element-hq/feature/bma/fallbackNotificationCleanup
Fallback notification cleanup
2026-02-12 19:00:39 +01:00
Benoit Marty fc6e4e2ffb Merge pull request #6195 from element-hq/feature/bma/callButtonColor
Fix call button color and ensure call can always be declined from the notification
2026-02-12 19:00:04 +01:00
vmfunc 0cbe326db9 finish recording gracefully when audio focus is lost
if something else grabs focus mid-recording (phone call, etc), stop
the recording and keep the partial result in preview state instead
of silently recording garbage

Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 18:39:40 +01:00
vmfunc 1412dd789e add RecordVoiceMessage audio focus requester for recording
separates recording from playback focus - willPausedWhenDucked is false
for recording so notification sounds don't interrupt mid-recording

Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 18:39:39 +01:00
Benoit Marty 459e70f124 Fix test and add a new one. 2026-02-12 18:22:05 +01:00
Benoit Marty 5785b3cfe8 Fix quality issue 2026-02-12 18:17:13 +01:00
Benoit Marty d1d5fb9cd6 Fix test compilation 2026-02-12 18:00:33 +01:00
Benoit Marty ab1af452c6 Add name parameters 2026-02-12 17:57:52 +01:00
Benoit Marty bed65b3950 Swap receiver and parameter for a nicer code. 2026-02-12 17:57:31 +01:00
Benoit Marty e31acaf6b8 Let the call be declined from the notification if the application is killed when the call is ringing. 2026-02-12 17:32:05 +01:00