Commit graph

7221 commits

Author SHA1 Message Date
Benoit Marty
be3aafeef2
Merge pull request #4433 from vector-im/feature/bma/android12
Android12
2021-11-16 13:27:33 +01:00
Benoit Marty
dddcbfbe7d Fix "PendingIntents attached to actions with remote inputs must be mutable"
Room notifications are now working on Android 12 emulator
2021-11-16 12:27:54 +01:00
Benoit Marty
8d8565ca63 Quick fix on this file 2021-11-15 21:37:51 +01:00
Benoit Marty
eb39b37374 Fix warning after rebase (it's for test, so OK to suppress warning) 2021-11-15 21:35:01 +01:00
Benoit Marty
6f13fb1634 Create file for Toast style (more generic)
And improve fragment_create_poll.xml preview rendering
2021-11-15 14:23:32 +01:00
Benoit Marty
223b33fa65 Create CallToAction button style 2021-11-15 14:16:22 +01:00
Benoit Marty
2aab94acb4 Create dedicated file for TextInputLayout styles
And follow naming convention
2021-11-15 14:11:15 +01:00
Benoit Marty
35e2a1083b
Merge pull request #4360 from vector-im/feature/ons/poll
Poll Feature - Create
2021-11-15 14:05:40 +01:00
Benoit Marty
df60b0c2b7
Merge pull request #4430 from vector-im/feature/adm/feature-notification-images
Notification images
2021-11-15 12:46:51 +01:00
Onuray Sahin
299d81fd18 Lint fix. 2021-11-15 14:41:22 +03:00
Benoit Marty
fb8b720a3b Add comment to run on Android 12 2021-11-15 12:25:42 +01:00
Benoit Marty
5a19533b4a Use correct value, but I do not see any effect on emulator with API 12 2021-11-15 12:25:42 +01:00
Benoit Marty
60d75ff8e2 Fix crash on Android 12.
I guess we accept only images coming from the keyboard.
2021-11-15 12:25:42 +01:00
Benoit Marty
96de0f86fe Fix lint issue "NullSafeMutableLiveData"
LiveData value assignment nullability mismatch
2021-11-15 12:25:42 +01:00
Benoit Marty
1082771f7c Fix lint issue "Incorrect constant" 2021-11-15 12:24:48 +01:00
Benoit Marty
03019fdfd9 Fix lint issue "Outside Range"
Ensure that column index is not -1
2021-11-15 12:24:48 +01:00
Benoit Marty
453e6daa93 Make the Cursor extensions public
And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
2021-11-15 12:24:48 +01:00
Benoit Marty
f88a477f04 Fix crash on Android 12: PendingIntent.FLAG_IMMUTABLE has to be set 2021-11-15 12:24:48 +01:00
Benoit Marty
f25c17881d Fix crash on Android 12
java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
2021-11-15 12:24:48 +01:00
Benoit Marty
e9f53f6b35 InputConnectionCompat.createWrapper is deprecated
Permission should be granted, according to https://developer.android.com/reference/android/view/OnReceiveContentListener#uri-permissions
2021-11-15 12:24:48 +01:00
Benoit Marty
0a9845af30 @OnLifecycleEvent is deprecated, use DefaultLifecycleObserver instead 2021-11-15 12:24:48 +01:00
Benoit Marty
a1630b5546 androidx.lifecycle:lifecycle-extensions is deprecated
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
756f846e74 android:exported has to be explicitly set when targeting Android 12 2021-11-15 12:24:48 +01:00
dependabot[bot]
56776aed21 Bump browser from 1.3.0 to 1.4.0
Bumps browser from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.browser:browser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
Benoit Marty
f7b2059fe1 Target API 31 - Handle deprecated API 2021-11-15 12:24:48 +01:00
Benoit Marty
31809a595c Temporary fix for Android 12. android:exported has to be explicitly set when targeting Android 12
Do it for services coming from dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
aa3f36b7b7 Target API 31 - Android 12 - #4262 2021-11-15 12:24:48 +01:00
Onuray Sahin
fff47b8243 Lint fix. 2021-11-15 13:26:31 +03:00
Benoit Marty
ceb16cc301
Merge pull request #4469 from vector-im/sync-emojis
Sync Emojis
2021-11-15 11:03:10 +01:00
bmarty
a33bcbb81a Sync Emojis 2021-11-15 00:01:55 +00:00
dependabot[bot]
ad48223273
Bump libphonenumber from 8.12.36 to 8.12.37
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.36 to 8.12.37.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.36...v8.12.37)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 23:08:34 +00:00
Onuray Sahin
a6c88b74a4 Hide poll icon from attachment type selector for now. 2021-11-11 13:42:04 +03:00
Onuray Sahin
b6717f4e46 Code review fixes. 2021-11-11 13:38:39 +03:00
Onuray Sahin
89db5a6ecd Lint fixes. 2021-11-11 11:52:01 +03:00
Adam Brown
42648298b6 formatting 2021-11-10 17:09:08 +00:00
Adam Brown
10a8a45391 waiting for the sent message to be rendered in the timeline 2021-11-10 17:07:10 +00:00
Adam Brown
c8ae3f9a83 removing unused imports 2021-11-10 17:07:10 +00:00
Adam Brown
411be43287 waiting for the edited text to appear instead of sleeping 2021-11-10 17:07:10 +00:00
Adam Brown
2583a6d6bf taking screenshots on sanity test failure 2021-11-10 17:07:10 +00:00
Adam Brown
fc865682b1 waiting for the message actions bottom sheet when interacting with the message options 2021-11-10 17:07:10 +00:00
Adam Brown
39b4116699 adding bottomsheet idling resource to wait for expand and hide events 2021-11-10 17:07:10 +00:00
Adam Brown
e5edfe9c73 adding dedicated message menu robot and adding sanity check for developer mode flows 2021-11-10 17:07:10 +00:00
Adam Brown
2a66efb733 adding helper to fetch text from resources 2021-11-10 17:07:10 +00:00
Onuray Sahin
7546071df8 Design review fixes. 2021-11-10 13:47:15 +03:00
Adam Brown
b90b396753 fixing compilation error in unit test 2021-11-10 09:44:16 +00:00
Adam Brown
892129994e
Merge pull request #4424 from dkter/fix-broken-room-icons
Fix incorrect cropping of conversation icons
2021-11-10 09:43:09 +00:00
Benoit Marty
dc486557cf
Merge pull request #4427 from vector-im/feature/bma/shortcut_disabled
Add an explicit reason when shortcut are disabled.
2021-11-09 20:38:21 +01:00
Adam Brown
528c5a3671 adding warning when the signout flow is unexpected 2021-11-08 17:08:53 +00:00
Adam Brown
145ceacf78 fixing auto merge issues 2021-11-08 15:24:08 +00:00
Adam Brown
9e6bd2ee9c checking if the event is an image message to avoid attepting to render non image based attachments 2021-11-08 15:24:08 +00:00