ElementBot
01617e1c9d
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-08-12 06:03:23 +00:00
ganfra
fe807b9133
Sync on push : fix CallScreenPresenterTests after last changes.
2024-08-01 11:21:05 +02:00
bmarty
d288ace4bd
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ElementBot
9522569860
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-07-22 08:59:47 +00:00
Benoit Marty
94f38f1af5
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
2024-07-22 10:39:48 +02:00
Jorge Martin Espinosa
bc87ff01cf
Cancel ringing call notification on call cancellation ( #3047 )
...
* Cancel ringing call notification on call cancellation
* Improve implementation, add some comments to clarify how it works.
* Make sure the call timeout job is cancelled
2024-07-19 17:51:44 +02:00
Benoit Marty
f3b3b97877
Add preview for Call screen in different PipState.
2024-07-15 17:23:03 +02:00
Benoit Marty
a7c6b7e751
When PiP is supported, use Back for top left icon instead of Close. #3197
2024-07-15 17:23:03 +02:00
Benoit Marty
77a42f2198
Call in PiP: when closing PiP, hang up the call.
...
The Activity is actually not destroyed as I expected.
2024-07-15 17:22:34 +02:00
Benoit Marty
b95004fe23
Call in PiP: add feature flag, disabled in release builds.
2024-07-15 16:48:39 +02:00
Benoit Marty
29b115dfdf
Introduce ElementThemeApp to avoid code duplication.
2024-07-09 11:10:10 +02:00
Benoit Marty
15873e9af2
Merge branch 'develop' into feature/bma/realDarkTheme
2024-07-09 10:19:26 +02:00
Benoit Marty
b21065fe64
Fix KtLint issue
2024-07-08 18:48:51 +02:00
Benoit Marty
95d6404290
CallScreenPresenter is reading the current theme, it needs to be in the ElementTheme block. Closes #3153
2024-07-08 18:35:03 +02:00
Benoit Marty
7c37cdee5f
Ensure PinUnlockActivity and IncomingCallActivity use the internal theme set by the user.
2024-07-08 18:17:44 +02:00
Benoit Marty
d915201dd3
Remove test on API 24 (working locally but not on CI :/)
2024-07-08 14:38:54 +02:00
Benoit Marty
d00af657a2
Add Ui test on CallScreenView
2024-07-08 12:30:06 +02:00
Benoit Marty
44030a6916
Add preview for loading state.
2024-07-08 12:08:42 +02:00
Benoit Marty
e5ad655242
Add support for Picture in Picture for ElementCallActivity
2024-07-08 12:04:59 +02:00
Benoit Marty
2fb7220ec4
Format file. No other change.
2024-07-05 16:24:57 +02:00
jmartinesp
58f2cbf489
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
e4e7cdfa17
Fix crash when getting the system ringtone for ringing calls ( #3131 )
2024-07-02 16:12:29 +00:00
Benoit Marty
0799d931b2
Fix tests
2024-07-02 13:50:10 +02:00
Benoit Marty
b709984582
Use SDK to get Element Wellknown content.
2024-07-02 13:28:26 +02:00
Benoit Marty
520806de0a
Remove unused import
2024-07-01 16:18:20 +02:00
Benoit Marty
4353caa6e0
Inject constructor
2024-07-01 16:12:27 +02:00
Benoit Marty
77fcc1aaa1
Provide language and theme to Element Call. #3079
2024-07-01 15:51:41 +02:00
Benoit Marty
8b9c838508
Remove default value for languageTag and theme.
2024-07-01 14:32:27 +02:00
Benoit Marty
77dc61ca7f
Add parameter names.
2024-07-01 14:30:35 +02:00
bmarty
99ae2b9640
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
Jorge Martin Espinosa
924d78f3c7
Replace the 'answer' PendingIntent in ringing call notifications ( #3093 )
...
* Replace the 'answer' PendingIntent in ringing call notifications
Co-authored-by: Benoit Marty <benoit@matrix.org >
---------
Co-authored-by: Benoit Marty <benoit@matrix.org >
2024-06-25 10:36:29 +02:00
ElementBot
072daa080a
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com >
2024-06-24 09:29:35 +02:00
Jorge Martin Espinosa
fcbc095064
Improve how active calls work ( #3029 )
...
* Improve how active calls work:
- Sending the `m.call.notify` event is now done in `CallScreenPresenter` once we know the sync is running.
- You can mark a call of both external url or room type as joined.
- Hanging up checks the current active call type and will only remove it if it matches.
2024-06-18 12:07:08 +02:00
Jorge Martin Espinosa
feef0f6976
Add full screen intent permissions banner ( #3024 )
...
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
- Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
- Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-06-18 07:41:10 +00:00
bmarty
7b27ba116d
Sync Strings from Localazy
2024-06-17 00:23:40 +00:00
Benoit Marty
cc55738bd4
Implement a memory cache for CallWellknownAPI
2024-06-13 13:32:18 +02:00
Benoit Marty
e4759b03d2
Do not log error in case of 404.
2024-06-12 09:15:30 +02:00
Benoit Marty
634118ecb8
Small quality fixes
2024-06-12 09:13:48 +02:00
Benoit Marty
120eedbd4c
Read element call base url from .well-known file if it exists.
2024-06-11 17:20:06 +02:00
Benoit Marty
dd1c0d7a11
Create CallScreenStateProvider to be able to preview errors.
2024-06-11 17:05:31 +02:00
Benoit Marty
a2db29316c
Introduce GetWidgetResult to avoid using Pair with generic String.
2024-06-11 15:54:02 +02:00
Jorge Martin Espinosa
cef8302dd0
Notify of ringing call when there's an active call ( #3003 )
...
* Add `CallNotificationEventResolver` to be able to force the new ringing notification to be non-ringing given an existing ringing one.
2024-06-10 15:03:06 +00:00
Jorge Martin Espinosa
6f8de0b2c6
Element Call ringing notifications ( #2978 )
...
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-06-10 11:51:19 +02:00