Commit Graph

23 Commits

Author SHA1 Message Date
Florian Renaud
912c37e3ff Reset elapsed time on stop action and add a start method to the CountUpTimer 2023-02-06 10:36:40 +01:00
Florian Renaud
6f18c020ea Add unit test on count up timer 2023-02-01 17:59:46 +01:00
Florian Renaud
3f6b60c63d Replace ticker flow with simple coroutine 2023-01-31 17:34:10 +01:00
Florian Renaud
9a31aa3b91 Move clock to core-utils module 2023-01-31 16:45:48 +01:00
Florian Renaud
757bd5ff32 Remove clock from core-utils module 2023-01-31 16:08:30 +01:00
Florian Renaud
b904548ba0 Cancel and start a new timer on pause & resume 2023-01-31 15:45:41 +01:00
Florian Renaud
ecc0cb5f0b CountUpTimer.elapsedTime now returns updated value 2023-01-30 14:25:02 +01:00
Florian Renaud
7bb7a627c4 Change variable to immutable 2023-01-30 14:12:09 +01:00
Florian Renaud
bdfebac76d CountUpTimer - compute elapsed time using real time 2023-01-30 11:03:10 +01:00
Florian Renaud
af67705778 Add optional initial time parameter in CountUpTimer 2023-01-30 11:03:10 +01:00
Florian Renaud
392fe6fa32 Transform TickListener to fun interface 2022-11-07 15:34:54 +01:00
dependabot[bot]
93a346392b
Bump gradle from 7.2.2 to 7.3.1 (#7364)
* Bump gradle from 7.2.2 to 7.3.1

Bumps gradle from 7.2.2 to 7.3.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Try to fix build issue caused by KSP workaround

* Add missing dependency

* Suppress false positive in linter

* Suppress more false positives, fix 2 possible leaks

* Fix tests

* Ignore flaky test

* Use namespaces instead of packagenames in AndroidManifest files

* Reorder dependency groups

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2022-10-17 09:14:28 +02:00
Benoit Marty
f2bbdc3906 API 33: fix compilation warnings 2022-10-05 17:35:05 +02:00
Olivér Falvai
f036d35829 Merge branch 'develop' into dependency-cleanup 2022-05-19 12:27:09 +02:00
Benoit Marty
38641c88b7 Fix usage of System.currentTimeMillis().
This a bit mocky but anyway it's better to use SystemClock.elapsedRealtime() for this case.
2022-05-18 20:51:41 +02:00
Olivér Falvai
2dcc120cf7 Merge remote-tracking branch 'origin/develop' into dependency-cleanup
# Conflicts:
#	build.gradle
#	dependencies.gradle
2022-05-18 11:47:21 +02:00
Benoit Marty
4c95aafe10 Detekt: enable and fix EndOfSentenceFormat 2022-05-16 08:54:07 +02:00
Benoit Marty
c04655cd36 Fix warning: w: '-Xopt-in' is deprecated and will be removed in a future release, please use -opt-in instead 2022-05-09 22:08:24 +02:00
Olivér Falvai
a8bbf29b42 Remove unused dependencies 2022-04-15 22:50:54 +02:00
Benoit Marty
23d2a290ab Global import optimization 2022-04-12 16:06:27 +02:00
Benoit Marty
1c42df7752 Move the file to the new module. 2022-01-18 14:39:02 +01:00
Benoit Marty
ffad479dad Move the file to the new module. 2022-01-18 14:30:59 +01:00
Benoit Marty
b8aaa177c2 Add a module library/core-utils as a base module for all util tools 2022-01-13 20:28:50 +01:00