Jaehwa Noh
b0e121263e
Create stateIsEmptyQuery_withThreeWhiteSpacesSearchQuery test.
...
Change-Id: I6d6e8f9fe988ca83fae484e4f2338ad6fe58b676
10 months ago
Jaehwa Noh
1976c4cf3c
Add 'or' to prevent search when query is blank.
...
Change-Id: If498de05889d6d5946b1bbb1d1c10cb311bb9b52
10 months ago
Jaehwa Noh
ad2c782317
Change org.junit.Assert.assertNull to kotlin.test.assertNull.
...
Change-Id: I60083b0b9a1dcaed84d957b49c91e5163d5659d6
10 months ago
Jaehwa Noh
9fb4c6a64b
Import org.junit.Assert.assertNull
10 months ago
Jaehwa Noh
cd6224c3c3
assertEquals to assertNull.
...
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
10 months ago
Jaehwa Noh
d1582a0114
Apply early return.
10 months ago
Jaehwa Noh
aa42b488a2
Create test emptySearchText_NotAddToRecentSearches
...
- For empty query not add in recent query list.
10 months ago
Jaehwa Noh
97686cbd8f
Add if state to prevent blank query.
10 months ago
Don Turner
1d2029aa2c
Merge pull request #1040 from SimonMarquis/fix-unit-test
...
Fix `emptyResultIsReturned_withNotMatchingQuery` unit test
10 months ago
Jose Alcérreca
dba36d694f
[CI] Adds free-disk-space action to fix CI ( #1219 )
...
* [CI] Adds free-disk-space action to fix CI
10 months ago
Don Turner
fa532e1a98
Merge pull request #1210 from android/lifecycle2.7.0
...
Update Lifecycle to 2.7.0. Use new LifecycleEventEffect.
10 months ago
dturner
08d8f1393a
🤖 Updates baselines for Dependency Guard
10 months ago
Don Turner
69f4287ab5
Merge branch 'main' into lifecycle2.7.0
...
* main:
Bump protobuf from 3.24.4 to 3.25.2 (#1214 )
Remove legacy benchmark build type (#1207 )
Use androidx.tracing everywhere
Revert fast initialization of Coil
Add comment for Retrofit async OkHttp
Optimize OkHttp initialization for Retrofit
Add braces
Inline initialization
Don't use runBlocking if async init completed
Launch loader directly without additional coroutine scope
Fix comment
Improve lazy loading for Coil + OkHttp
Restores screenshot tests in foryou (#1199 )
Fix name and message of dependency guard actions (#1196 )
Change-Id: Ifcbfcfba4b7d8c24599e207b4a05dfea6125fde7
10 months ago
Don Turner
2ad48843f6
Fix formatting
...
Change-Id: I674d32bc0f1921c431717dbf0f41a74f632322b3
10 months ago
dependabot[bot]
6add4d68e3
Bump protobuf from 3.24.4 to 3.25.2 ( #1214 )
...
* Bump protobuf from 3.24.4 to 3.25.2
Bumps `protobuf` from 3.24.4 to 3.25.2.
Updates `com.google.protobuf:protobuf-kotlin-lite` from 3.24.4 to 3.25.2
Updates `com.google.protobuf:protoc` from 3.24.4 to 3.25.2
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.24.4...v3.25.2 )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-kotlin-lite
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.protobuf:protoc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* 🤖 Updates baselines for Dependency Guard
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
11 months ago
Ben Weiss
f64f1c0aa2
Remove legacy benchmark build type ( #1207 )
...
* Remove legacy benchmark build type
Now that we have the baseline profile gradle plugin,
there is no need for a benchmark build type.
The plugin does the setup and configuration and runs against the
correct app flavor.
* Remove explicit benchmark build type from benchmark module
* Remove stale build task exclusions
* Fix tracing import location
FYI @mlykotom
11 months ago
Tomáš Mlynarič
b85d149f0d
Merge pull request #1190 from android/mlykotom/coil-async-init
...
Coil asynchronous initialization
11 months ago
Don Turner
254b464259
Update Lifecycle to 2.7.0. Use new LifecycleEventEffect.
...
Change-Id: I71e7aa521f22499fd3f3e9f3ac7c81658f3abc3a
11 months ago
Tomáš Mlynarič
d9aaec0699
Use androidx.tracing everywhere
...
Change-Id: I847827efc08f5cbc00f0c809ad992c267f826e50
11 months ago
Tomáš Mlynarič
58483b6166
Revert fast initialization of Coil
...
As discussed in https://github.com/coil-kt/coil/issues/2097 the problem is caused by regitering system services, which will be fixed in 2.6.0
Change-Id: I9085309780508137f10b25ff82deed3c62e5d159
11 months ago
Tomáš Mlynarič
4cdc2ad345
Add comment for Retrofit async OkHttp
...
Change-Id: Ic7a6887b76caf26f00b58b0753271d426b67e75b
11 months ago
Tomáš Mlynarič
d110d92b87
Optimize OkHttp initialization for Retrofit
...
Change-Id: I347f1080ab5adf774a0cdd3c659cbf25c4820f9a
11 months ago
Tomáš Mlynarič
f3e89bad4a
Add braces
...
Change-Id: I859babab7278137a4a2e49e5a085c65632888dd0
11 months ago
Tomáš Mlynarič
d1211f15e7
Inline initialization
...
Change-Id: I0a77eb6457cac27c1a4d604c8efdcbbdce95bc48
11 months ago
Tomáš Mlynarič
e853748cf7
Don't use runBlocking if async init completed
...
Change-Id: I641187ce277f434c6fca49a11b3cfccd50ecf5da
11 months ago
Tomáš Mlynarič
7c33946ce1
Launch loader directly without additional coroutine scope
...
Change-Id: Icbbdbcbcac1a6275857ebe998509f1e09109db7a
11 months ago
Tomáš Mlynarič
8e3903e90c
Fix comment
...
Co-authored-by: Yuri Schimke <yuri@schimke.ee>
11 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
11 months ago
Jose Alcérreca
3ff5d48f37
Restores screenshot tests in foryou ( #1199 )
11 months ago
Jonathan Koren
96b554d6a2
Fix name and message of dependency guard actions ( #1196 )
...
Change-Id: I9f4c51036f8322302653287db508a76415801a56
11 months ago
Simon Marquis
b687328567
Replace comments with proper `@TestOnly` annotations
11 months ago
Simon Marquis
a83f6691c4
Fix addNewsResources issue
11 months ago
Simon Marquis
5a1258232f
Fix `emptyResultIsReturned_withNotMatchingQuery` unit test
...
`searchResultUiState` transitively relied on `getSearchContentsCount` updates and on `userDataRepository` to emit something.
11 months 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
11 months ago
Alex Vanyo
aea26aa831
Merge pull request #1158 from android/av/enable-kvm
...
Enable KVM on base Linux image
11 months ago
Alex Vanyo
3d1550be45
Enable KVM on base Linux image
...
Change-Id: Id653fae78712a878a978ef731235e76a5288c1e8
11 months 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
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
Don Turner
41d307b478
Merge pull request #1120 from SimonMarquis/enum-entries
...
Replace `Enum.values()` with `Enum.entries`
1 year ago
Don Turner
607b232ca3
Merge pull request #1121 from SimonMarquis/lint-designsystem-tests
...
Add tests for `DesignSystemDetector` lint
1 year ago
Simon Marquis
61f80739ef
Merge `lint` dependency version with `androidTools`
1 year ago
Don Turner
339280e4c7
Merge pull request #1122 from SimonMarquis/fix-dialog-layout
...
Replace workaround on SettingsViewModel now that a fix has been deployed
1 year ago
Don Turner
046831df36
Update dependency guard classpaths
...
Change-Id: I5f729bce92ec1cc9f71e34e42cbe38765966fc31
1 year ago