Benoit Marty
ad646c9098
Remove feature flag `PictureInPicture`
2 months ago
Benoit Marty
7f4b84638f
Rename `PipActivity` to `PipView`
2 months ago
Benoit Marty
9fab13c50b
Avoid keeping a reference to the eventSink in a separate value
2 months ago
Benoit Marty
306043876f
Rename `WebPipApi` to `PipController`
2 months ago
Benoit Marty
0b2edcb6d1
Fix UI tests.
2 months ago
Benoit Marty
a4b6d4c5d7
Simplify code.
2 months ago
Benoit Marty
368db3feb4
Allow entering Pip mode when `controls.canEnterPip()` cannot be evaluated.
2 months ago
Benoit Marty
18dcdc0e64
Communicate with Element Call about PiP status.
...
Also only use eventSink to communicate with the Presenter, instead of having public methods.
Change WeakReference to an Activity to a listener and update tests.
2 months ago
bmarty
3e67448006
Sync Strings from Localazy
2 months ago
ElementBot
8bd48fdc60
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2 months ago
ganfra
d8532c0d19
Sync on push : fix CallScreenPresenterTests after last changes.
3 months ago
bmarty
76804d9e48
Sync Strings from Localazy
3 months ago
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
3 months ago
Benoit Marty
5bda29ca7e
Rework FakeMatrixRoom so that it contains only lambdas. ( #3229 )
...
* Upgrade lint to 8.7.0-alpha01
* FakeMatrixRoom: lambda everywhere
Fix test compilation issues
3 months ago
Jorge Martin Espinosa
344e07bc0b
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
3 months ago
Benoit Marty
a0b8679776
Add preview for Call screen in different PipState.
3 months ago
Benoit Marty
15d4782aa6
When PiP is supported, use Back for top left icon instead of Close. #3197
3 months ago
Benoit Marty
497f5d9f38
Call in PiP: when closing PiP, hang up the call.
...
The Activity is actually not destroyed as I expected.
3 months ago
Benoit Marty
d27e86f396
Call in PiP: add feature flag, disabled in release builds.
3 months ago
Benoit Marty
bb5ae89b2f
Introduce ElementThemeApp to avoid code duplication.
3 months ago
Benoit Marty
214c9d2d2b
Fix KtLint issue
3 months ago
Benoit Marty
c73d814220
CallScreenPresenter is reading the current theme, it needs to be in the ElementTheme block. Closes #3153
3 months ago
Benoit Marty
9856ece42a
Ensure `PinUnlockActivity` and `IncomingCallActivity` use the internal theme set by the user.
3 months ago
Benoit Marty
962320a0d8
Remove test on API 24 (working locally but not on CI :/)
3 months ago
Benoit Marty
0093e611cd
Add Ui test on CallScreenView
3 months ago
Benoit Marty
664f78741d
Add preview for loading state.
3 months ago
Benoit Marty
a005c80fe4
Add support for Picture in Picture for ElementCallActivity
3 months ago
Benoit Marty
1a99a9f0e6
Format file. No other change.
4 months ago
jmartinesp
dabaa2d265
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
4 months ago
Jorge Martin Espinosa
05df1f2065
Fix crash when getting the system ringtone for ringing calls ( #3131 )
4 months ago
Benoit Marty
3135c5307f
Fix tests
4 months ago
Benoit Marty
8ec283f2ca
Use SDK to get Element Wellknown content.
4 months ago
Benoit Marty
4df18eadf4
Remove unused import
4 months ago
Benoit Marty
f34ba47906
Inject constructor
4 months ago
Benoit Marty
8ef970e3f7
Provide language and theme to Element Call. #3079
4 months ago
Benoit Marty
6a6e66765a
Remove default value for languageTag and theme.
4 months ago
Benoit Marty
2529a8d844
Add parameter names.
4 months ago
bmarty
32c5da898b
Sync Strings from Localazy
4 months ago
Jorge Martin Espinosa
ce28a05467
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>
4 months ago
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
4 months ago
Jorge Martin Espinosa
2e32adf1f1
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.
4 months ago
Jorge Martin Espinosa
b741c32e91
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>
4 months ago
bmarty
9288b90ac6
Sync Strings from Localazy
4 months ago
Benoit Marty
813158397f
Implement a memory cache for CallWellknownAPI
4 months ago
Benoit Marty
dc7e56eb87
Do not log error in case of 404.
4 months ago
Benoit Marty
f87047b899
Small quality fixes
4 months ago
Benoit Marty
9cc0601c79
Read element call base url from .well-known file if it exists.
4 months ago
Benoit Marty
b3830bab95
Create CallScreenStateProvider to be able to preview errors.
4 months ago
Benoit Marty
e56fcfe9f3
Introduce GetWidgetResult to avoid using Pair with generic String.
4 months ago