Commit graph

10986 commits

Author SHA1 Message Date
Maxime NATUREL
47960c0dfd Use const to define banner background alpha 2022-07-27 10:29:14 +02:00
Maxime NATUREL
d62cf70b8c Add usage of TypedArray.use when possible 2022-07-27 10:28:43 +02:00
Maxime NATUREL
4cfb79d566 Small renamings to be more consistent 2022-07-25 14:49:49 +02:00
Maxime NATUREL
d0a9e9eda0 Reverting some after rebase changes 2022-07-25 14:37:31 +02:00
Maxime NATUREL
e1ea10e0a2 Adding attribute to set the start margin of icon 2022-07-25 14:17:07 +02:00
Maxime NATUREL
e51488bc57 Adding ended live banner view in the map screen 2022-07-25 12:01:10 +02:00
Maxime NATUREL
5e59eb474a Adding attribute to control alpha of the banner background 2022-07-25 10:36:28 +02:00
Maxime NATUREL
732582b6fe Banner view for ended live 2022-07-25 10:03:55 +02:00
Maxime NATUREL
1276b12188 Renaming banner view for running live 2022-07-25 09:51:18 +02:00
Maxime NATUREL
46684702a1 Hiding bottom sheet when no more lives 2022-07-25 09:51:18 +02:00
Maxime NATUREL
4a817fd9f5 Fixing dark/light loading of the correct map drawable 2022-07-25 09:50:54 +02:00
Maxime NATUREL
7f43a1bb06 Updating reply description text 2022-07-25 09:50:54 +02:00
Maxime NATUREL
4bb9a68603 Fixing title position inside banner for active live item 2022-07-25 09:50:54 +02:00
Maxime NATUREL
2a0331dc04 Fixing title position inside banner for loading and stop items 2022-07-25 09:50:54 +02:00
Maxime NATUREL
d632c866a2 Center crop the map 2022-07-25 09:50:54 +02:00
Maxime NATUREL
985e09a68c Remove abandoned TODO 2022-07-25 09:50:54 +02:00
Onuray Sahin
75de805417
Merge pull request #6616 from vector-im/feature/ons/element_call_widget
Support element call widget (PSG-627)
2022-07-22 19:03:03 +03:00
Onuray Sahin
5c253bbd28 Code review fixes. 2022-07-22 17:21:23 +03:00
Onuray Sahin
6a9b496651
Merge pull request #6609 from vector-im/feature/ons/reset_zoom_level_on_user_focus
Live Location Sharing - Reset zoom level while focusing a user (PSG-624)
2022-07-22 14:50:36 +03:00
Onuray Sahin
792fca8400 Code review fix. 2022-07-22 14:48:58 +03:00
Onuray Sahin
23a25cf240 Rename widget action. 2022-07-22 14:36:02 +03:00
Onuray Sahin
242c14a156 Write test for the use case. 2022-07-22 14:34:06 +03:00
Onuray Sahin
d631c709d6 Create use case to check webview permissions. 2022-07-22 14:33:45 +03:00
Benoit Marty
0c289eba2b Fix crash observed on nightly build. MainActivity is not able to display alert because the theme is not compliant. Anyway we should not display alert on this screen. 2022-07-22 11:26:32 +02:00
Onuray Sahin
81f3e4a360 Lint fixes. 2022-07-21 16:29:34 +03:00
Onuray Sahin
da780ac56f Open element call widget. 2022-07-21 16:26:10 +03:00
Onuray Sahin
0d4697b7e1 Show call icon if there is an active element call widget. 2022-07-21 15:55:51 +03:00
Benoit Marty
3d7733156e
Merge pull request #6612 from anoadragon453/patch-1
Fix a typo during registration
2022-07-21 14:12:30 +02:00
Benoit Marty
fabdc20887
Merge pull request #6548 from vector-im/feature/bma/realm_migration_bg
Realm migration bg
2022-07-21 14:08:03 +02:00
Onuray Sahin
7dfe5264cd Fix picture in picture mode. 2022-07-21 15:03:44 +03:00
Onuray Sahin
85b5713b24 Add a hangup button in pip mode. 2022-07-21 14:02:24 +03:00
Onuray Sahin
95783506a2 Stop javascript for non element call widgets. 2022-07-21 13:51:52 +03:00
Valere
fb05ab34d8
Merge pull request #6395 from vector-im/feature/bca/fix_invalid_qr_warning
Display specific message when verif code malformed
2022-07-21 12:36:46 +02:00
Johannes Marbach
5c55263cf6 Suppress webview / checkbox permission dialog
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-07-21 13:15:00 +03:00
Onuray Sahin
fd3b082a2c Open element call widget. 2022-07-21 13:13:14 +03:00
Onuray Sahin
f5ec7a312f Auto grant WebView permissions if they are already granted system level. 2022-07-21 12:56:12 +03:00
Onuray Sahin
a0eb2e733c Skip widget permissions for element call. 2022-07-21 12:41:22 +03:00
Onuray Sahin
85aba894d6 Support picture-in-picture mode for element call widget. 2022-07-21 12:35:11 +03:00
Onuray Sahin
b3a8052a51 Add element call widget type. 2022-07-21 12:30:55 +03:00
Onuray Sahin
61f05e78a3 Create custom widget args for element call. 2022-07-21 12:27:52 +03:00
Benoit Marty
3063c0da49 Avoid updating the UI every seconds 2022-07-21 11:19:36 +02:00
Benoit Marty
9dda647c52 Add Foreground service when data are updated. 2022-07-21 11:19:36 +02:00
Benoit Marty
b294c9a1fd Do not always start MainActivity first when launching HomeActivity 2022-07-21 11:19:36 +02:00
Benoit Marty
0bedfc8087 Add a message when migrating the data (after 1 seconds) 2022-07-21 11:19:36 +02:00
Benoit Marty
b7826c02a3 Start SDK before handling permalink or sharing to the app.
It also fixes a crash when trying to share to the app if there is no active session: `IncomingShareViewModel` injects the `session` in the constructor.
2022-07-21 11:19:36 +02:00
Benoit Marty
c8a2bfc738 Always start MainActivity to ensure that current session is set. 2022-07-21 11:19:36 +02:00
Benoit Marty
0dd9e943c7 Delegate the creation of the Session to MainActivity instead of VectorApplication to unblock the main thread.
This fix is not necessary anymore, since the session is restored either in `MainActivity` or in `VectorMessagingReceiver`.
Ref: b7a54ead68
2022-07-21 11:19:36 +02:00
Andrew Morgan
d8fa1cb2ed
Fix a typo during registration
terns -> terms
2022-07-21 10:12:43 +01:00
ericdecanini
9e1235d51f Merge remote-tracking branch 'origin/develop' into task/eric/replace_flatten_with_direct_parent
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo034.kt
2022-07-20 16:44:33 +02:00
Onuray Sahin
10322545aa Move pin to center when clicked. 2022-07-20 16:57:48 +03:00