Tomáš Mlynarič
8e3903e90c
Fix comment
...
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
2 years ago
Tomáš Mlynarič
5f0612102d
Improve lazy loading for Coil + OkHttp
...
This way, we can load Coil's backend on a background thread and not block the MainThread with it.
Previously, the Coil image loader was initialized with the first composed image, which caused ~10ms duration and most likely skipped frames.
Change-Id: Iaa583b6adc1df7d7a51dbae1473e539f2c0b0b62
2 years ago
Jose Alcérreca
9499293664
Figuring out what is using 66Gb in the runner
2 years ago
Jose Alcérreca
ea5c692266
Dpm
2 years ago
Tomáš Mlynarič
9daedc9690
Improve converting to kotlin timezone
...
Change-Id: I2af929c341cb274ae6b93bb8dffe696de6ed1c63
2 years ago
Tomáš Mlynarič
12a3a6edde
Use trySend multiple times
...
Change-Id: Ie00c4180d07fc4bb9d457647f3b7ddadd5a3c032
2 years ago
Tomáš Mlynarič
08bfc54832
Update dependency guard baseline
...
Change-Id: I2557753f1eb4c6845aca6473a6aba5b7e758ebbf
2 years ago
Tomáš Mlynarič
f8e797fd26
Rename currentTimezone variable
...
Change-Id: I92630f6851b0253294a8d3ec2e5b3cbe7db74b4d
2 years ago
Tomáš Mlynarič
98e9e80639
Merge branch 'main' into mlykotom/tz-perf-improvement
...
Change-Id: Ie83fb57676934ca3bdda59a986eb1a01a7c97424
2 years ago
Simon Marquis
3d339e1658
Move `:core:data` fake repositories to `:core:data-test`
...
Now that these fake implementations are no longer used in the production source code (only in tests), we can safely extract them out of this module.
Hopefully, we'll later be able to use Kotlin testFixtures for that.
References:
- #709
- #875
2 years ago
Simon Marquis
e629d5e4bf
Merge branch 'main' into jvm-alt
2 years ago
Jose Alcérreca
3ff5d48f37
Restores screenshot tests in foryou ( #1199 )
2 years ago
Jonathan Koren
96b554d6a2
Fix name and message of dependency guard actions ( #1196 )
...
Change-Id: I9f4c51036f8322302653287db508a76415801a56
2 years ago
Tomáš Mlynarič
6faf3310a1
Fix spotless
...
Change-Id: I26a64df036d17bcd455e782306fb31c099dd53ed
2 years ago
Tomáš Mlynarič
6ec3b3c7a2
Use androidx.tracing everywhere
...
Change-Id: I9a77c4434d271e2e23700823f9f513aa61d177f8
2 years ago
Tomáš Mlynarič
ea1573fcc1
Use kotlinx.datetime.Timezone instead of java ZoneId
...
Change-Id: I62c4d044b319a9b59e06bb42fd12971d992e8628
2 years ago
yongsuk
894e817f8f
Update typo setup.sh
2 years ago
Simon Marquis
b687328567
Replace comments with proper `@TestOnly` annotations
2 years ago
Simon Marquis
a83f6691c4
Fix addNewsResources issue
2 years ago
Simon Marquis
5a1258232f
Fix `emptyResultIsReturned_withNotMatchingQuery` unit test
...
`searchResultUiState` transitively relied on `getSearchContentsCount` updates and on `userDataRepository` to emit something.
2 years ago
Jonathan Koren
c1d6c88bb0
Run dependencyGuard task during CI ( #1064 )
...
* Run dependencyGuard task during CI
Run the `dependencyGuard` task during CI, which will fail if there are
detected changes.
Change-Id: If5f2b18a4c765bd38a3353df2adaaa91cf1739c3
* Add actions to update dependency guard baselines
* Update baselines
* Better glob for update baselines action
2 years ago
Tomáš Mlynarič
a16d5f726c
More readable zoneId creation
...
Change-Id: I912dc021554e4886a5d09e63799aa5c81e8fd16a
2 years ago
Tomáš Mlynarič
44ae059a2b
Rename LocalTimeZone -> LocalZoneId + collects with lifecycle
...
Change-Id: I429c563765a489965d0a1741e36c98a30e5d0ef3
2 years ago
Tomáš Mlynarič
1e925ed99f
Conflate TimeZoneMonitor emissions
...
Co-authored-by: Alex Vanyo <vanyo@google.com>
2 years ago
Tomáš Mlynarič
0b3ece1bb9
Fix spotless
...
Change-Id: I6583fa9ed7c1563f6164653be9bbaf7904ec0215
2 years ago
Tomáš Mlynarič
cb00d2c8cb
Add TimeZoneMonitor to prevent multiple TimeZoneBroadcastReceivers
...
This way, we can save ~1ms per composed item on screen.
Change-Id: Ib9ada3cea53304fca4fb2b36c48c175845bc683d
2 years ago
Tomáš Mlynarič
395b9853df
Add Composition Tracing
...
Change-Id: I3ad60930de2fab71a700a0c2df3f0a1f566cafd8
2 years ago
dependabot[bot]
20c8db6b0c
Bump gradle/gradle-build-action from 2 to 3
...
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Simon Marquis
db4bf1c782
Keep `androidx.compose.ui:ui-tooling-preview` on all buildTypes
2 years ago
Simon Marquis
d932cde110
Move `androidx.compose.ui:ui-tooling` dependency to convention plugin
2 years ago
Simon Marquis
3fbdf75ecf
Unnecessary safe call on a non-null receiver
2 years ago
Alex Vanyo
aea26aa831
Merge pull request #1158 from android/av/enable-kvm
...
Enable KVM on base Linux image
2 years ago
Alex Vanyo
3d1550be45
Enable KVM on base Linux image
...
Change-Id: Id653fae78712a878a978ef731235e76a5288c1e8
2 years ago
Arash Ebrahimzade
44cd995d3d
Updated screenshot tests link
2 years ago
dependabot[bot]
4cd0778cdc
Bump androidx.activity:activity-compose from 1.8.0 to 1.8.2
...
Bumps androidx.activity:activity-compose from 1.8.0 to 1.8.2.
---
updated-dependencies:
- dependency-name: androidx.activity:activity-compose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Don Turner
f5b3ae56dc
Merge pull request #951 from SimonMarquis/issue-945
...
Extract `ProfileVerifier` logs from `MainActivity` to `NiaApplication`
2 years ago
Don Turner
691bf2aad6
Merge pull request #785 from SimonMarquis/optimize-avd
...
Optimize AVD to fix long vector paths Lint warning
2 years ago
Don Turner
36cacbdc27
Merge pull request #1039 from SimonMarquis/kotlinify
...
Kotlinify codebase
2 years ago
Simon Marquis
48fde2c3bf
Fix badging after merge
2 years ago
Simon Marquis
b848351f9c
🔄
2 years ago
Simon Marquis
d9d9153eda
Merge branch 'main' into firebase-ktx
2 years ago
SimonMarquis
afdfd8acc5
🤖 Updates screenshots
2 years ago
Simon Marquis
377d3bef0c
Optimize AVD to fix long vector paths Lint warning
...
... with SVGOM, but you'll have to check on Android Studio the AVD diff.
https://googlesamples.github.io/android-custom-lint-rules/checks/VectorPath.md.html
2 years ago
Simon Marquis
d17f3b1101
Merge branch 'main' into move-android-instrumented-test
2 years ago
Simon Marquis
c1118eaf22
Apply suggestions from code review
2 years ago
Simon Marquis
61c7d71870
Migrate `:core:common` to pure JVM module
...
The notification icons are now stored in `:core:notifications`.
This forces `:sync:work` to depend on it.
Another solution could be to provide the resource id through Hilt, but it would require more changes.
2 years ago
Simon Marquis
45743175fb
Reference `nowinandroid-jvm-hilt` plugin in versions catalog
2 years ago
Simon Marquis
4dd51cb6b1
Merge common dependencies
2 years ago
Simon Marquis
bc8871a9b0
Convert inheritance into delegation
2 years ago
Simon Marquis
4f8f08380f
Prep work for JVM alternatives to modules/plugins
2 years ago