Tomáš Mlynarič
d110d92b87
Optimize OkHttp initialization for Retrofit
...
Change-Id: I347f1080ab5adf774a0cdd3c659cbf25c4820f9a
12 months ago
Tomáš Mlynarič
f3e89bad4a
Add braces
...
Change-Id: I859babab7278137a4a2e49e5a085c65632888dd0
12 months ago
Tomáš Mlynarič
d1211f15e7
Inline initialization
...
Change-Id: I0a77eb6457cac27c1a4d604c8efdcbbdce95bc48
12 months ago
Tomáš Mlynarič
e853748cf7
Don't use runBlocking if async init completed
...
Change-Id: I641187ce277f434c6fca49a11b3cfccd50ecf5da
12 months ago
Tomáš Mlynarič
7c33946ce1
Launch loader directly without additional coroutine scope
...
Change-Id: Icbbdbcbcac1a6275857ebe998509f1e09109db7a
12 months ago
Tomáš Mlynarič
8e3903e90c
Fix comment
...
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
12 months 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
12 months ago
Jose Alcérreca
9499293664
Figuring out what is using 66Gb in the runner
12 months ago
Jose Alcérreca
ea5c692266
Dpm
12 months ago
Tomáš Mlynarič
9daedc9690
Improve converting to kotlin timezone
...
Change-Id: I2af929c341cb274ae6b93bb8dffe696de6ed1c63
12 months ago
Tomáš Mlynarič
12a3a6edde
Use trySend multiple times
...
Change-Id: Ie00c4180d07fc4bb9d457647f3b7ddadd5a3c032
12 months ago
Tomáš Mlynarič
08bfc54832
Update dependency guard baseline
...
Change-Id: I2557753f1eb4c6845aca6473a6aba5b7e758ebbf
12 months ago
Tomáš Mlynarič
f8e797fd26
Rename currentTimezone variable
...
Change-Id: I92630f6851b0253294a8d3ec2e5b3cbe7db74b4d
12 months ago
Tomáš Mlynarič
98e9e80639
Merge branch 'main' into mlykotom/tz-perf-improvement
...
Change-Id: Ie83fb57676934ca3bdda59a986eb1a01a7c97424
12 months 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
12 months ago
Jose Alcérreca
3ff5d48f37
Restores screenshot tests in foryou ( #1199 )
12 months ago
Jonathan Koren
96b554d6a2
Fix name and message of dependency guard actions ( #1196 )
...
Change-Id: I9f4c51036f8322302653287db508a76415801a56
12 months ago
Tomáš Mlynarič
6faf3310a1
Fix spotless
...
Change-Id: I26a64df036d17bcd455e782306fb31c099dd53ed
1 year ago
Tomáš Mlynarič
6ec3b3c7a2
Use androidx.tracing everywhere
...
Change-Id: I9a77c4434d271e2e23700823f9f513aa61d177f8
1 year ago
Tomáš Mlynarič
ea1573fcc1
Use kotlinx.datetime.Timezone instead of java ZoneId
...
Change-Id: I62c4d044b319a9b59e06bb42fd12971d992e8628
1 year ago
yongsuk
894e817f8f
Update typo setup.sh
1 year ago
Simon Marquis
b687328567
Replace comments with proper `@TestOnly` annotations
1 year ago
Simon Marquis
a83f6691c4
Fix addNewsResources issue
1 year ago
Simon Marquis
5a1258232f
Fix `emptyResultIsReturned_withNotMatchingQuery` unit test
...
`searchResultUiState` transitively relied on `getSearchContentsCount` updates and on `userDataRepository` to emit something.
1 year 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
1 year ago
Tomáš Mlynarič
a16d5f726c
More readable zoneId creation
...
Change-Id: I912dc021554e4886a5d09e63799aa5c81e8fd16a
1 year ago
Tomáš Mlynarič
44ae059a2b
Rename LocalTimeZone -> LocalZoneId + collects with lifecycle
...
Change-Id: I429c563765a489965d0a1741e36c98a30e5d0ef3
1 year ago
Tomáš Mlynarič
1e925ed99f
Conflate TimeZoneMonitor emissions
...
Co-authored-by: Alex Vanyo <vanyo@google.com>
1 year ago
Tomáš Mlynarič
0b3ece1bb9
Fix spotless
...
Change-Id: I6583fa9ed7c1563f6164653be9bbaf7904ec0215
1 year ago
Tomáš Mlynarič
cb00d2c8cb
Add TimeZoneMonitor to prevent multiple TimeZoneBroadcastReceivers
...
This way, we can save ~1ms per composed item on screen.
Change-Id: Ib9ada3cea53304fca4fb2b36c48c175845bc683d
1 year ago
Tomáš Mlynarič
395b9853df
Add Composition Tracing
...
Change-Id: I3ad60930de2fab71a700a0c2df3f0a1f566cafd8
1 year 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>
1 year ago
Simon Marquis
db4bf1c782
Keep `androidx.compose.ui:ui-tooling-preview` on all buildTypes
1 year ago
Simon Marquis
d932cde110
Move `androidx.compose.ui:ui-tooling` dependency to convention plugin
1 year ago
Simon Marquis
3fbdf75ecf
Unnecessary safe call on a non-null receiver
1 year ago
Alex Vanyo
aea26aa831
Merge pull request #1158 from android/av/enable-kvm
...
Enable KVM on base Linux image
1 year ago
Alex Vanyo
3d1550be45
Enable KVM on base Linux image
...
Change-Id: Id653fae78712a878a978ef731235e76a5288c1e8
1 year ago
Arash Ebrahimzade
44cd995d3d
Updated screenshot tests link
1 year 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>
1 year ago
Don Turner
f5b3ae56dc
Merge pull request #951 from SimonMarquis/issue-945
...
Extract `ProfileVerifier` logs from `MainActivity` to `NiaApplication`
1 year ago
Don Turner
691bf2aad6
Merge pull request #785 from SimonMarquis/optimize-avd
...
Optimize AVD to fix long vector paths Lint warning
1 year ago
Don Turner
36cacbdc27
Merge pull request #1039 from SimonMarquis/kotlinify
...
Kotlinify codebase
1 year ago
Simon Marquis
b848351f9c
🔄
1 year ago
SimonMarquis
afdfd8acc5
🤖 Updates screenshots
1 year 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
1 year ago
Simon Marquis
d17f3b1101
Merge branch 'main' into move-android-instrumented-test
1 year ago
Simon Marquis
c1118eaf22
Apply suggestions from code review
1 year ago
Don Turner
707117a4f2
Merge branch 'main' into kotlinify
1 year ago
Don Turner
4238aa4c4e
Merge pull request #1123 from SimonMarquis/libs-lint-androidTools
...
Merge `lint` dependency version with `androidTools`
1 year ago
Don Turner
0f0511748e
Merge pull request #1088 from SimonMarquis/cleanup-dependencies
...
Reduce overall build complexity
1 year ago