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
9429b039de
androidx.lifecycle:lifecycle-common-java8 -> androidx.lifecycle:lifecycle-common
...
https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0
2021-11-15 12:24:48 +01:00
Benoit Marty
7e59c18050
Add dep for ProcessLifecycleOwner
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
a1c8835f31
Same version for all lifecycle deps
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
dependabot[bot]
2880798627
Bump core-ktx from 1.6.0 to 1.7.0
...
Bumps core-ktx from 1.6.0 to 1.7.0.
---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
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
dependabot[bot]
540a1b52ad
Bump lifecycle-livedata-ktx from 2.3.1 to 2.4.0
...
Bumps lifecycle-livedata-ktx from 2.3.1 to 2.4.0.
---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-livedata-ktx
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
dependabot[bot]
f1e1729d40
Bump work-runtime-ktx from 2.6.0 to 2.7.0
...
Bumps work-runtime-ktx from 2.6.0 to 2.7.0.
---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
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
Benoit Marty
8b655edd34
Merge pull request #4439 from vector-im/feature/adm/developer-mode-sanity-check
...
Developer mode sanity check & failure screenshots
2021-11-10 18:53:50 +01:00
Adam Brown
42648298b6
formatting
2021-11-10 17:09:08 +00:00
Adam Brown
9152c39c73
adding logcat output to the sanity artifacts
2021-11-10 17:07:10 +00:00
Adam Brown
968d8e413a
using adb root for pulling off emulator files as per https://github.com/ReactiveCircus/android-emulator-runner/issues/102#issuecomment-963866536
...
- also uses emulated directory instead of sdcard
2021-11-10 17:07:10 +00:00
Adam Brown
992c3d8a13
updating emulator to use api 29 due to storage differences
2021-11-10 17:07:10 +00:00
Adam Brown
0ab5734c53
using single line for the emulator script, doesn't seem to support multiline
2021-11-10 17:07:10 +00:00
Adam Brown
70dd3e5cb9
adding missing indentation
2021-11-10 17:07:10 +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
918042c231
adding github action emulator optimisations
2021-11-10 17:07:10 +00:00
Adam Brown
0a1f4dd69f
adding screenshot pulling and storing as part of the sanity workflow
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
Benoit Marty
474e2aadbe
Merge pull request #4440 from vector-im/gradlew-update-7.3
...
Update Gradle Wrapper from 7.2 to 7.3
2021-11-10 14:43:08 +01:00
Benoit Marty
a6f3a468be
Merge pull request #4442 from vector-im/feature/adm/broken-room-icons
...
Fix incorrect cropping of conversation icons
2021-11-10 14:42:53 +01:00
Adam Brown
750aa26e92
triggering actions
2021-11-10 12:13:08 +00: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
gradle-update-robot
a5c1f91ab6
Update Gradle Wrapper from 7.2 to 7.3.
...
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2021-11-10 00:13:08 +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
Ekaterina Gerasimova
270d55dfb4
Actions: move Voice message issues to their board
...
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
157421afb8
Update changelog entry for PR
...
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
5b414b848e
Add more actions to move issues around
...
Rename triage-needs-info to triage-move-labelled, add workflows for
Design, Delight (old and new board) and X-Needs-Info
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Ekaterina Gerasimova
c55d1117e5
Actions: reference commits rather than tags
...
It's better to reference commits because the tags can be moved to
reference other commits.
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 19:35:34 +00:00
Adam Brown
9dd01d5b20
Merge pull request #4429 from vector-im/feature/adm/relogin-sanity-check
...
Sign out - Sign in sanity check & nightly sanity check
2021-11-08 20:21:15 +00:00
Adam Brown
9c1d6e0484
avoiding null unwrapping by merging the contains check with eagerly throwing if the session component is missing
2021-11-08 17:14:00 +00:00
Adam Brown
528c5a3671
adding warning when the signout flow is unexpected
2021-11-08 17:08:53 +00:00
Benoit Marty
9ebc234e8e
Merge pull request #4428 from vector-im/feature/fre/fix_optional_npe
...
Fix potential NPE on Optional objects
2021-11-08 16:37:24 +01:00