Commit Graph

13498 Commits

Author SHA1 Message Date
ganfra
e528df274c 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
7ed111d0df 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]
16b6ca1a28 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
e951d188fb 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
Jorge Martin Espinosa
496595f20d 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]
b8ce06d80f 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]
d66ae7657a 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
783585bd01 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
5959345aad Merge pull request #6207 from element-hq/sync-localazy
Sync Strings
2026-02-23 13:32:14 +01:00
bmarty
6c81e88689 Sync Strings from Localazy 2026-02-23 00:39:49 +00:00
renovate[bot]
1ce57d811e 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]
5421dade55 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
3a856394f2 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
7d412d9461 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
73bfbccac7 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]
d2c039d8e8 Update kotlin to v2.3.6 2026-02-18 07:36:33 +00:00
Jorge Martin Espinosa
ba75927d72 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
2b85a8d18c 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
c17c1bf052 Use fade animation when replacing Placeholder 2026-02-17 12:23:35 +01:00
renovate[bot]
bc295b3c97 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]
4cc1ab1b88 Update dependency com.posthog:posthog-android to v3.32.0 2026-02-16 16:31:26 +00:00
Jorge Martin Espinosa
1b73a15953 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]
15b8ca63f0 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
82245d5847 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
5729e834b6 Update ref. 2026-02-13 17:09:14 +01:00
Benoit Marty
d2ca80e7e8 Fix compilation issue after merging develop. 2026-02-13 16:44:42 +01:00
Benoit Marty
c1f3233dce Merge branch 'develop' into feature/bma/notificationCustomSound 2026-02-13 15:48:19 +01:00
Jorge Martin Espinosa
0f170b671b 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
73a3468dbc 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
f9210a3506 Merge pull request #6190 from element-hq/feature/bma/fallbackNotificationCleanup
Fallback notification cleanup
2026-02-12 19:00:39 +01:00
Benoit Marty
8dfedd70d1 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
bddc5a63f4 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
7bd157f032 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
5aae5607f6 Fix test and add a new one. 2026-02-12 18:22:05 +01:00
Benoit Marty
44b13ef82b Fix quality issue 2026-02-12 18:17:13 +01:00
Benoit Marty
960884b55b Fix test compilation 2026-02-12 18:00:33 +01:00
Benoit Marty
0233f4dde4 Add name parameters 2026-02-12 17:57:52 +01:00
Benoit Marty
88a104a6d4 Swap receiver and parameter for a nicer code. 2026-02-12 17:57:31 +01:00
Benoit Marty
c95bbb6d07 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
Benoit Marty
f7b80ca89b Fix documentation 2026-02-12 17:32:05 +01:00
celeste
a0b6b8d93c Merge branch 'develop' into feature/audio-focus-voice-recording 2026-02-12 16:41:38 +01:00
ElementBot
1c4405c89b Update screenshots 2026-02-12 15:37:16 +00:00
vmfunc
43f729414b request audio focus when recording voice messages
Signed-off-by: vmfunc <celeste@linux.com>
2026-02-12 16:28:37 +01:00
Jorge Martin Espinosa
f5c250ed7a Fix Maestro tests again (#6167)
* Increase the timeout for asserting 'Be in your element' is visible

* Disable the chrome onboarding flow. This simplifies the code a lot and helps avoid corner cases.

* More delays with timeout!

* Add more info to the summary, specially when the tests fail, so we can quickly check what failed.

* Make sure Maestro tests can't run in parallel, but APK builds can
2026-02-12 16:24:19 +01:00
Benoit Marty
55c78cbac0 Incoming call screen: ensure buttons stay grouped in the center of the screen. 2026-02-12 16:01:05 +01:00
Benoit Marty
da6f289e62 Incoming call screen: use color from theme and follow design.
https://www.figma.com/design/0MMNu7cTOzLOlWb7ctTkv3/Element-X?node-id=16501-5740
2026-02-12 15:51:17 +01:00
Benoit Marty
009adb9b88 Merge pull request #6160 from element-hq/feature/bma/sortAudioOutputList
Sort audio device by device type before sending the list to Element Call
2026-02-12 15:12:14 +01:00
Benoit Marty
130ff40e5c Fix typo 2026-02-12 14:42:58 +01:00
Benoit Marty
52141c64b6 Update ref. 2026-02-12 14:37:34 +01:00
Benoit Marty
0368aa8687 Fix warning 2026-02-12 14:28:28 +01:00