Commit Graph

19219 Commits

Author SHA1 Message Date
Benoit Marty 0559911f39 Fix non passing tests 2022-09-22 16:34:07 +02:00
Benoit Marty 7f5c712e88 No need to use `@SuppressLint("NewApi")` when `@ChecksSdkIntAtLeast` is used - more cleanup 2022-09-22 16:34:07 +02:00
Benoit Marty 658a09ea6a No need to use `@SuppressLint("NewApi")` when `@ChecksSdkIntAtLeast` is used. 2022-09-22 16:32:14 +02:00
Benoit Marty 5886245bbf Reverse condition for code clarity with `ChecksSdkIntAtLeast` 2022-09-22 16:32:14 +02:00
Benoit Marty 0910b118ff Changelog 2022-09-22 16:32:14 +02:00
Benoit Marty 2bda97224c Cleanup 2022-09-22 16:32:14 +02:00
Benoit Marty 2266723789 Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton. 2022-09-22 16:32:14 +02:00
Benoit Marty c735ea5e3d Remove duplication between `KeysBackupBanner.State` and `ServerBackupStatusViewModel.BannerState` and move the some logic to the ViewModel 2022-09-22 16:32:14 +02:00
Benoit Marty b4494ee8ea Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty 5736c8f648 Remove `DefaultSharedPreferences` since we now have @DefaultPreferences which provide a singleton.
Some fun has been moved to injectable classes due to this change. Not compiling, still work to do, but I prefer to split into 2 separate commits.
2022-09-22 16:32:14 +02:00
Benoit Marty 0324927b04 Create VectorLocaleProvider, to just read the current Locale from the SharedPreference 2022-09-22 16:32:14 +02:00
Benoit Marty d8436874e2 Fix `StaticFieldLeak` issue (context).
Make VectorLocal an injectable class.
2022-09-22 16:32:14 +02:00
Benoit Marty 7e8a39e6de Suppress `LaunchActivityFromNotification`. This is fine here, this is the notification for the diagnostic, we do not want to start an Activity. 2022-09-22 16:32:14 +02:00
Benoit Marty 832a472b57 Add `@ChecksSdkIntAtLeast` annotation, to be able to remove `AndroidVersionTestOverrider` 2022-09-22 16:32:14 +02:00
Benoit Marty bb2eb56ee6 Add `@ChecksSdkIntAtLeast` annotation. 2022-09-22 16:32:14 +02:00
Benoit Marty 1ff4a5f212 Ignore `AlwaysShowAction` lint issue. Also make it an error, so that developer has to explicitly disable the warning. 2022-09-22 16:32:14 +02:00
dependabot[bot] 2aa9382fba
Bump android-connector from 2.0.1 to 2.1.0
Bumps [android-connector](https://github.com/UnifiedPush/android-connector) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/UnifiedPush/android-connector/releases)
- [Commits](https://github.com/UnifiedPush/android-connector/compare/2.0.1...2.1.0)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-connector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-22 14:31:16 +00:00
Benoit Marty 151f6245db
Merge pull request #6929 from vector-im/feature/bma/android12
Target API 32 (Android 12)
2022-09-22 16:30:04 +02:00
Benoit Marty e98bfe5c9b
Merge pull request #7156 from vector-im/feature/mna/device-manager-verify-other-session
[Device management] Verify another session (PSG-722)
2022-09-22 11:46:28 +02:00
Benoit Marty 4e30bc86b8
Merge pull request #7139 from vector-im/feature/mna/device-manager-verify-current-session
[Device management] Verify current session (PSG-722)
2022-09-22 11:46:07 +02:00
ganfra fabfe36ede Update versions to 1.5.2 2022-09-22 10:31:31 +02:00
ganfra 21806efaa5 Merge branch 'release/1.5.0' into main 2022-09-22 10:28:04 +02:00
ganfra 2a9cf32829 Merge branch 'main' into develop 2022-09-22 10:28:04 +02:00
ganfra 14e7c913df Release 1.5.0: update CHANGES 2022-09-22 09:50:50 +02:00
ganfra d08b33ec07 Translations: fix some mispells 2022-09-22 09:45:06 +02:00
dependabot[bot] 44f6e66efb
Bump fragment from 1.5.2 to 1.5.3
Bumps `fragment` from 1.5.2 to 1.5.3.

Updates `fragment-ktx` from 1.5.2 to 1.5.3

Updates `fragment-testing` from 1.5.2 to 1.5.3

---
updated-dependencies:
- dependency-name: androidx.fragment:fragment-ktx
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: androidx.fragment:fragment-testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 23:10:46 +00:00
ganfra 619791d24f
Merge pull request #7201 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-21 21:40:06 +02:00
Danial Behzadi 1446e8f50b Translated using Weblate (Persian)
Currently translated at 99.8% (2415 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-09-21 19:16:35 +00:00
Auri B. P 401ce61930 Translated using Weblate (Catalan)
Currently translated at 98.7% (2389 of 2419 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2022-09-21 19:16:32 +00:00
ganfra feb33ce32b Translation: cleanup remaining TODOs 2022-09-21 19:43:47 +02:00
ganfra 03d843ac51 Rename device_manager strings 2022-09-21 18:04:32 +02:00
Adam Brown 600588dbbb adding trailing commas 2022-09-21 16:37:31 +01:00
ganfra 658a8dfd04
Merge pull request #7199 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-09-21 17:09:32 +02:00
Weblate 12e0e263fa Merge branch 'origin/develop' into Weblate. 2022-09-21 14:40:42 +00:00
ganfra 0a8e6c1758 Weblate: fix conflict 2022-09-21 16:39:56 +02:00
Adam Brown d75e37966c adding changelog entry 2022-09-21 15:39:13 +01:00
Adam Brown 9ab78c93e2 reducing sync timeout for instrumentation tests to speed them up 2022-09-21 15:39:13 +01:00
Adam Brown 7f31098ba1 lifting the sync timeout to the matrix configuration 2022-09-21 15:39:09 +01:00
Benoit Marty b9c28ba4ce
Merge branch 'develop' into feature/bma/android12 2022-09-21 16:24:30 +02:00
ganfra c05cbb4eed
Merge pull request #7196 from vector-im/feature/ons/revert_string_key_changes
Revert changes of string keys
2022-09-21 16:02:18 +02:00
Onuray Sahin 793138bf1b Revert changes of string keys. 2022-09-21 16:44:47 +03:00
Nui Harime d9faad6364 Translated using Weblate (Russian)
Currently translated at 98.0% (2339 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-09-21 12:45:19 +00:00
Michael Weimann b82b5a6979 Translated using Weblate (German)
Currently translated at 98.9% (2362 of 2386 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-09-21 12:45:18 +00:00
Onuray Sahin 8de9ef8c7d Code review fixes. 2022-09-21 14:30:24 +03:00
Onuray Sahin 4ab798f88d Code review fixes. 2022-09-21 14:16:51 +03:00
Benoit Marty d31d833959
Merge pull request #7180 from vector-im/feature/fre/deferred_dm_labs_flag
Deferred DMs - Add and enable the feature by default in the labs settings
2022-09-21 12:17:19 +02:00
Benoit Marty 52d7369ac3
Merge pull request #7186 from vector-im/bugfix/eric/fixes-room-list-updates
Fixes Room List not getting updated when fragment is not in focus
2022-09-21 12:14:20 +02:00
NIkita Fedrunov d8060a7922 review fixes 2022-09-21 11:28:21 +02:00
NIkita Fedrunov 602b378b65 cancel flow when order is changed 2022-09-21 10:43:08 +02:00
ganfra bf19ef81d0
Merge pull request #7185 from vector-im/bugfix/nfe/app_layout_all_screens_test_fix
fixed all screens test to follow latest changes
2022-09-21 10:28:22 +02:00