Commit Graph

92 Commits

Author SHA1 Message Date
Adam Brown 439224e4de using american english for consistency 2022-08-11 09:32:36 +01:00
Adam Brown 045398d06f fixing import ordering and duplicated documentation 2022-08-09 10:42:44 +01:00
Adam Brown ed3b73a989 decouples the flavor code / OSS licenses activity launching 2022-08-09 10:32:43 +01:00
Adam Brown 0c61595ace decoupling the fcm helper from the vector module 2022-08-08 18:05:04 +01:00
Adam Brown f605e0c479 decoupling the notification test factory from the vector module 2022-08-08 17:51:08 +01:00
Adam Brown 02286b96b0 decoupling the flipper proxy from the vector module 2022-08-08 17:32:23 +01:00
Benoit Marty e577320301 Change name of fun. 2022-07-26 17:47:49 +02:00
Benoit Marty c6b9dba041 Rename fun 2022-07-26 14:23:44 +02:00
Benoit Marty 4dd5fa7051 Shorter code. 2022-07-25 10:07:52 +02:00
Benoit Marty 83f3229805 Add in-app alert to let user know if a new version is available. 2022-07-22 17:29:59 +02:00
Benoit Marty f0c8c3fd63 Rename Android Service to use `AndroidService` suffix to limit confusion with our Matrix SDK Services 2022-07-04 21:39:01 +02:00
Benoit Marty 2f2ee1b894 Format project (only modified files, there are other fomatting issues). 2022-06-09 10:38:38 +02:00
Benoit Marty 5846ad5768 Inject constructor of `BackgroundSyncStarter` and `FcmHelper` 2022-06-09 10:18:06 +02:00
Benoit Marty 905934b9d4 Rename method for clarity 2022-06-09 10:18:06 +02:00
Benoit Marty 18b49068c1 Change BuildConfig field to a VectorFeature. 2022-06-09 10:18:06 +02:00
Benoit Marty 674e3a72c4 Make `UnifiedPushHelper` a regular class and inject the context in the constructor to clean up the API 2022-06-09 10:18:06 +02:00
Benoit Marty 09a918bac4 Cleanup 2022-06-09 10:16:59 +02:00
sim f00257f461 Add UnifiedPush troubleshoot 2022-06-09 10:16:59 +02:00
ericdecanini 6df88fba59 Merge remote-tracking branch 'origin/develop' into task/eric/when-arrow-alignment
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/GroupSyncHandler.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
#	vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/InitSyncStepFormatter.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayoutFactory.kt
#	vector/src/main/java/im/vector/app/features/sync/widget/SyncStateView.kt
2022-06-08 12:59:54 +02:00
Benoit Marty dd22cdf7f2 Rename existing SyncService to SyncAndroidService to avoid confusion 2022-06-08 09:55:28 +02:00
Benoit Marty f62d598b79 Create a SyncService and move some methods from Session there.
Merge SyncStatusService to SyncService, and rename some classes
2022-06-08 09:53:33 +02:00
ericdecanini b3fdb5ed17 Changes code style when arrow alignment 2022-05-23 12:57:57 +02:00
ericdecanini 3f3662e605 Changes code style method parameters new line around parentheses to true 2022-05-23 12:30:42 +02:00
Benoit Marty f5d0663b06 Remove non needed extra spaces 2022-05-20 09:48:17 +02:00
Benoit Marty e35bb772c1
Merge pull request #5941 from vector-im/feature/bma/konfetti_speed
No animation -> no chat effect
2022-05-09 17:05:53 +02:00
ericdecanini 3fb03e2b2c Reformats project based on editorconfig 2022-05-05 19:10:35 +02:00
Benoit Marty 66b32a74d5 Convert some fun to Context extensions 2022-05-05 11:57:54 +02:00
Benoit Marty cdcaf93fc7 Fix F-Droid build 2022-05-03 15:02:34 +02:00
Benoit Marty 40d3203297 Use Clock interface app side 2022-05-03 15:02:34 +02:00
ericdecanini de899bbb18 Formats entire project 2022-04-21 11:50:15 +02:00
Benoit Marty 3895ac85d8 Move `SyncService` to api package 2022-04-12 15:38:20 +02:00
Benoit Marty d80a25feac Fix "@JvmStatic used for @Provides function in an object class" Lint warning.
See https://github.com/google/dagger/releases/tag/dagger-2.25.2 point 2.ii. : @Module object classes no longer need @JvmStatic on the provides methods.
Ensure this warning does not appear again.
2021-11-19 15:29:11 +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 756f846e74 android:exported has to be explicitly set when targeting Android 12 2021-11-15 12:24:48 +01:00
Adam Brown 036a81d60b extending from the vector service to avoid extra service boilerplate 2021-11-04 09:47:16 +00:00
Adam Brown 48678382ba adding new copy for the foreground listening notification 2021-11-04 09:45:59 +00:00
Adam Brown 006ad10392 removing extra blank line 2021-11-04 09:45:59 +00:00
Adam Brown c14ffefe7c updating background sync function docs with more information 2021-11-04 09:45:59 +00:00
Adam Brown 56d5a38e80 reverting parts of the rapid periodic sync, unfortunately it suffers from the same issue as the one shot workers -
the system can ignore them if the application process is in the background
2021-11-04 09:45:59 +00:00
Adam Brown 71b27bfd5d making the guard service a noop, lifeline scheduling will be brought back if we confirm the service by itself is not enough
- reuses the sync foreground notification for the guard foreground service
2021-11-04 09:45:59 +00:00
Marcel Langner c6b942cd31 fixed ktlint complaining and errors in italian translation file 2021-11-04 09:45:59 +00:00
Marcel Langner 97b4fd69b4 fixed typo 2021-11-04 09:45:59 +00:00
Marcel Langner e14fb16db2 initial commit of a permanent GuardService for fdroid background syncing 2021-11-04 09:45:59 +00:00
Andrew Aylett d261dd705d Periodic sync to re-kick-off rapid sync 2021-11-04 09:45:59 +00:00
ganfra c87d276f8a Hilt: fix fdroid 2021-10-22 18:09:14 +02:00
Benoit Marty d1e9f3131a Big annoying commit: execute command `./gradlew ktlintFormat` - Fix "colon-spacing" 2021-10-01 13:31:15 +02:00
Benoit Marty e771b21ea3 Rename parameters for clarity 2021-01-12 16:07:49 +01:00
Benoit Marty b69d8ad71a Code cleanup, fix crash if `appContext !is HasVectorInjector` 2021-01-12 16:07:49 +01:00
Benoit Marty cb1addd5e3 Push test now does not display notification anymore. Add a dedicated test to do it 2020-10-09 20:10:55 +02:00
Benoit Marty bc339191ea Fix Copyright mention 2020-10-08 15:11:01 +02:00