Commit graph

301 commits

Author SHA1 Message Date
bmarty
23c1112dcf Sync Strings from Localazy 2026-04-13 00:48:40 +00:00
Benoit Marty
2a5fc3633d Move aCallNotificationData to the tests package of the main module, so that the test module does not have to depend on the impl module. 2026-04-08 17:40:48 +02:00
Benoit Marty
0e85fec41a Depend on api not impl module. 2026-04-08 17:34:44 +02:00
bmarty
299d5a9394 Sync Strings from Localazy 2026-03-16 00:42:32 +00:00
Valere
bad6085fb2 review: consistency use isAudioCall everywhere (instead of voiceOnly) 2026-03-06 12:19:05 +01:00
Valere
79d8ec16b9 review: Rename aIncomingCallScreenState to aCallNotificationData 2026-03-06 12:12:32 +01:00
Valere
f81f79f79a fix tests 2026-03-04 19:07:53 +01:00
Valere
1f4601c936 konsist: fix PreviewParameterProvider naming convention 2026-03-04 17:54:41 +01:00
Valere
22a9e541fe fix missing rename of var 2026-03-04 14:05:58 +01:00
Valere
be370911d2 rename voiceIntent to isAudioCall 2026-03-04 11:10:40 +01:00
Valere
7ef43abd57 Support incoming audio only calls 2026-03-04 08:56:33 +01:00
Valere
5491040ac5 WIP: Support using Element Call for voice calls in DMs 2026-03-03 11:50:22 +01:00
ElementBot
cf479a8df0
Sync Strings from Localazy (#6269)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2026-03-02 14:54:50 +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
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
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
Benoit Marty
e2ca3f3c99 Fix documentation 2026-02-12 17:32:05 +01:00
Benoit Marty
194f1d2d37 Incoming call screen: ensure buttons stay grouped in the center of the screen. 2026-02-12 16:01:05 +01:00
Benoit Marty
765ea94166 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
2a509d9ea8 Sort audio device by device type before sending the list to Element Call. 2026-02-09 14:23:06 +01:00
Benoit Marty
18f07383a3 Revert "Add "call.pro.element.io" in the list of known hosts for Element Call."
This reverts commit 761834dab2.
2026-01-30 15:05:59 +01:00
Benoit Marty
bbaaafad63 Ensure that the call is not closed when it is an External call. 2026-01-29 16:21:00 +01:00
Benoit Marty
761834dab2 Add "call.pro.element.io" in the list of known hosts for Element Call. 2026-01-29 16:13:33 +01:00
renovate[bot]
00dcbf4a7f
fix(deps): update kotlin to 2.3.0 (#5917)
* fix(deps): update kotlin to 2.3.0

* Cleanup - remove `datetime` compat version

* Fix several lint issues caused by the Kotlin compiler inference working better (checks in nullables, vars, etc.)

* Fix tests by removing mock in `File.readBytes`, it seems like it's no longer allowed. Using a tmp file works well enough.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-12-22 14:28:15 +01:00
ElementBot
ad881c303a
Sync Strings from Localazy (#5904)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-12-15 23:51:19 +01:00
Benoit Marty
310848ee38
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
Module cleanup
2025-11-18 16:14:10 +01:00
Benoit Marty
8a53be3b33 Fix warning 2025-11-14 09:39:55 +01:00
Benoit Marty
b64a46738e Small cleanup 2025-11-14 09:33:40 +01:00
Benoit Marty
1c8b637858 No need to use apply setContentText accept null parameter. 2025-11-14 09:24:41 +01:00
Benoit Marty
71e8df2628 Rename val 2025-11-13 14:58:44 +01:00
Benoit Marty
8285478688 API modules do not need to setup dependency injection.
Move the implementation to the impl modules.
2025-11-12 19:05:39 +01:00
Benoit Marty
04589ec091 Fix package name 2025-11-12 12:24:46 +01:00
Benoit Marty
573767aca1 Let notifications use avatar fallback.
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
7ad9c8f687 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +01:00
Benoit Marty
1bba0d4dda Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification 2025-11-04 16:20:42 +01:00
Benoit Marty
fdd4e2115c Always use the handleEvent(s) function the same way. 2025-11-03 18:49:00 +01:00
Benoit Marty
04e5d684d4 Let DefaultNotificationDrawerManager use NotificationDisplayer instead of NotificationManagerCompat 2025-10-31 09:29:48 +01:00
Jorge Martin Espinosa
2af5570231
Revert "Make sure declining a call stops observing the ringing call state (#5…" (#5615)
This reverts commit 651263111e.
2025-10-27 17:25:56 +01:00
Benoit Marty
263e761907 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
Benoit Marty
67ecf8bcd3 Add missing tests on CallType and make it internal. 2025-10-22 12:20:06 +02:00
Benoit Marty
07b9a8456b Move SemanticColorsLightDark to compound module 2025-10-22 09:35:55 +02:00
Benoit Marty
49c23a922e Improve API and fix theme glitch when switching between accounts. 2025-10-22 09:32:15 +02:00
Jorge Martin Espinosa
651263111e
Make sure declining a call stops observing the ringing call state (#5563)
* Add shared `removeCurrentCall` function to `DefaultActiveCallManager`

This centralises the shared call cancellation logic

* Add regression test for the issue

* Make sure the existing iterations of `flatMapLatest` in `observeRingingCall` get cancelled when the active call is null or not ringing anymore by passing null values, then filtering them out

Previously these kept running even if the `activeCall` was no longer valid

* Move the `timedOutCallJob` cancellation inside `removeCurrentCall` too
2025-10-21 11:26:13 +02:00
Benoit Marty
94392d30b2 Avoid creating a Json instance many times. 2025-10-20 09:40:47 +02:00
Benoit Marty
df48ed5a2d Introduce JsonProvider.
It will ensure that classes are using the correct Json instances in the unit tests.
2025-10-20 09:40:42 +02:00
Benoit Marty
7c437761c4 Move Json provider from Network module to AppModule to reuse it. 2025-10-16 16:37:08 +02:00