Commit graph

60 commits

Author SHA1 Message Date
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
d8436874e2 Fix StaticFieldLeak issue (context).
Make VectorLocal an injectable class.
2022-09-22 16:32:14 +02: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
ganfra
fabfe36ede Update versions to 1.5.2 2022-09-22 10:31:31 +02:00
Benoit Marty
b9c28ba4ce
Merge branch 'develop' into feature/bma/android12 2022-09-21 16:24:30 +02: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
Florian Renaud
e9d809d9c3 Move and enable deferred DMs into labs settings 2022-09-21 09:36:07 +02:00
NIkita Fedrunov
f6dfd64326 fixed all screens test to follow latest changes 2022-09-20 23:27:00 +02:00
Eric Decanini
7d2cbf5263
Merge pull request #7166 from vector-im/feature/eric/enable-app-layout-labs
Enables New App Layout in Labs
2022-09-19 13:35:40 -04:00
Benoit Marty
e2d131fc4f Move xml resource in the module where they are used to avoid lint false positive UnusedResources issues. 2022-09-19 11:56:40 +02:00
NIkita Fedrunov
237da2ce22 changed app layout flag for all_test 2022-09-19 11:08:25 +02:00
Benoit Marty
c91ba06285 Fix lint warnings, some code has vanished dur to the rebasing of the branch... 2022-09-19 10:50:15 +02:00
Benoit Marty
874bcc117a Fix regression on our dependency, due to merge of #6788.
We do not use `android-embedded_fcm_distributor` anymore (since #7068).
The code was compiling because `android-embedded_fcm_distributor` has a dependency on `firebase-messaging`.
2022-09-19 10:34:39 +02:00
NIkita Fedrunov
298aaece01 fixed checkVerifyPopup test fail 2022-09-18 18:02:45 +02:00
dependabot[bot]
43a1bdb620
Bump play-services-location from 16.0.0 to 20.0.0
Bumps play-services-location from 16.0.0 to 20.0.0.

---
updated-dependencies:
- dependency-name: com.google.android.gms:play-services-location
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-16 23:18:13 +00:00
Benoit Marty
57db43c80a Fix gradle warning:
WARNING:API 'ApkVariantOutput.getVersionCodeOverride()' is obsolete and has been replaced with 'VariantOutput.versionCode()'.
2022-09-16 23:01:29 +02:00
Benoit Marty
536b9cf926 Move @Suppress("DEPRECATION") closer to the deprecated usage. Will help to detect other deprecated API usage. 2022-09-16 23:00:39 +02:00
Adam Brown
e9d15b46d8 lifting the activity alias entry to the application module
- fixes the androidTests expecting a shortcuts xml
2022-09-15 14:50:08 +01:00
Adam Brown
e9e29603de adding missing nightly source inclusions 2022-09-15 14:50:08 +01:00
Adam Brown
9e5f07a855 suppressing lint warning for constant that delegates to the correct value 2022-09-15 14:50:08 +01:00
Adam Brown
1d50bbdbda fixing manifest imports and giving androidTest its own dedicated manifest 2022-09-15 14:50:08 +01:00
Adam Brown
0c469ae079 removing extra application id declaration 2022-09-15 14:50:08 +01:00
Adam Brown
3a38898961 lifting fdroid and gplay variants to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
373a0ca4fb split commit to make debug changes to avoid files being seen as new! 2022-09-15 14:50:08 +01:00
Adam Brown
5d533d4ec9 lifting debug build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
a947a53e14 lifting the release build type to the application module 2022-09-15 14:50:08 +01:00
Adam Brown
b72a174edf lifting nightly to the application module 2022-09-15 14:50:08 +01:00
Benoit Marty
e37344a059 Version++ 2022-09-10 08:15:31 +02:00
Benoit Marty
8c884f45fb Ignore Instantiatable class warning 2022-09-09 16:50:55 +02:00
Benoit Marty
f88039b7fd
Merge pull request #7068 from p1gp1g/fix/fcm-push2
Use firebaseReceiver with FCM
2022-09-09 09:46:06 +02:00
sim
2527dbbeb2 Rename FirebaseReceiver to VectorFirebaseMessagingService 2022-09-08 15:37:18 +02:00
NIkita Fedrunov
2ab0343e4f sanity test now reads properties value to determine app layout feature status + small fix for tests 2022-09-08 12:37:25 +02:00
NIkita Fedrunov
6badbe738d robots are not checking feature flag for newAppLayout 2022-09-08 12:09:33 +02:00
sim
9cf6dd7a88 Use firebaseReceiver with FCM 2022-09-07 18:02:26 +02:00
ericdecanini
37b216393e Merge remote-tracking branch 'origin/develop' into feature/eric/new-layout-labs 2022-09-07 14:02:10 +02:00
Benoit Marty
bdfbbbb2e6
Merge pull request #7020 from vector-im/feature/nfe/app_layout_all_screens_test
fixed allscreens sanity test for enabled app layout flag
2022-09-07 13:57:17 +02:00
ericdecanini
b7efd6384c Changes vector feature preference key and function name for clarity 2022-09-06 16:07:12 +02:00
Benoit Marty
f604b1d384 Private val is better. 2022-09-06 15:00:55 +02:00
NIkita Fedrunov
4dc01fcfa6 changes according to CR 2022-09-06 14:51:11 +02:00
NIkita Fedrunov
1b651f2aa5 fixed lint 2022-09-06 06:59:10 +02:00
NIkita Fedrunov
67b7bc3d83 fixed allscreens sanity test for enabled app layout flag 2022-09-06 00:00:35 +02:00
Benoit Marty
59f55beab1 Moving manifest manifest.application$name attribute to the main manifest, to make it available for both fdroid and gplay variant. Fixes #6995. 2022-09-05 17:49:42 +02:00
Benoit Marty
bf25ef4369 There are no views to bind in this module. 2022-09-05 17:40:34 +02:00
Adam Brown
22ce829645 moving all the strings to a dedicated libray/strings module 2022-09-01 14:58:07 +01:00
Adam Brown
177049ba91 merging with develop 2022-08-31 09:16:01 +01:00
Adam Brown
244aa094ef adding fragment testing dependency as a possible solution for missing jacoco agent on CI 2022-08-31 09:16:01 +01:00
Adam Brown
18a9846071 moving application based tests to the vector-app module
- they require the VectorApplication to trigger
2022-08-31 09:16:01 +01:00
Adam Brown
d2ca4edc6d lifting the application launcher colour to the application module 2022-08-31 09:16:01 +01:00
Adam Brown
c7f945c8b5 lifting the application config and icon to the application module 2022-08-31 09:16:00 +01:00
Adam Brown
4d3e21d046 reusing lint file 2022-08-31 09:16:00 +01:00