Momin Tahir
4699fa9d6c
make view model instance as private in MainActivity ( #1621 )
3 months ago
Ben Weiss
c01a129e4a
Nightly builds with baseline profiles ( #1173 )
...
* Overall build
* Enable nightly builds
* Enable Startup Profile generation for release builds
* Skip BP generation for regular Builds
* Test baseline profiles for all variants
* Cleanup
* Remove stale baseline-prof.txt
* Add generated profiles to .gitignore
* GMD
* Setup GMD in separate step
* Add GMD setup to all workflows
* Lower GMD specs
* Update GMD and Android SDK setup
* Add options test options for GMD startup
* Ensure only one device is used for bp / benchmark
* Apply guidance from issuetracker b/287312019
* Add new metrics for baseline profile measurement
Added custom metrics to better understand how effective a baseline
profile is. These TraceSectionMetrics keep track of JIT compilations
as well as class initializations which should go down when a BP is
properly applied to the app.
3 months ago
Jonathan Koren
447cd7eba3
Convert InterestsListDetailScreenTest to unit test ( #1560 )
...
* Convert InterestsListDetailScreenTest to Robolectric
Change-Id: I751f6ccc8bf16465fb6a9effb8a5d738a184d778
* Fix import alias
Change-Id: I3726858384bfe842eb717bae72c309284c524f06
* Add waitForIdle
Change-Id: I702fbca6ba79e3705e3226b0f3088923c89fc2cb
3 months ago
Don Turner
7ed2b12d4f
Fix #1595 navigation to topic detail screen causes crash
...
Change-Id: Ib5e764d47cbb810df5af12c2345f4f85baeac6b2
3 months ago
Don Turner
6cf8db2ac7
Merge branch 'main' into dt/nav-safe-args
3 months ago
Don Turner
371e181b79
Merge pull request #1559 from android/av/dcowi-update
...
Update DeviceConfigurationOverride.WindowInsets to match upstream implementation
4 months ago
Don Turner
8d57134663
Fix spotless
...
Change-Id: Ib093c206809a470b7f6135933bd2a72046865684
4 months ago
Don Turner
4b3f5370b9
Clean up deep link handling
...
Change-Id: I9d589cfe5c20a6b55708b99f5d79b10271af8ab4
4 months ago
Don Turner
00efda54e8
Merge branch 'main' into dt/nav-safe-args
...
* main: (58 commits)
Instrumented tests for InterestsListDetailScreen (#1518 )
Remove Firebase AD_SERVICE_CONFIG property
updateProdReleaseBadging
Merge Android & JVM plugins into a single `HiltConventionPlugin`
Update dependency guard
🤖 Updates baselines for Dependency Guard
Update to Lifecycle 2.8.3
Add android.adservices.AD_SERVICES_CONFIG to badges
Apply suggestions from code review
Update app/src/main/AndroidManifest.xml
generateModuleGraphs
dependencyGuardBaseline
updateProdReleaseBadging
Fix spotless.
Change set to `=` operator
Cleanup unused reference in `libs.versions.toml`
Regenerate SVG graphs
Update comment wording
Use stdin to avoid repeating the output file name
Replace bash commands with proper svgo cli
...
Change-Id: I1d804dcb6ac0ca857cb303b8c8bff5704b5d27a5
4 months ago
Don Turner
e19c31570b
Tidy up top level destination handling
...
Change-Id: I385b6f49ba37801e40bb90254abe96e2350d48e8
4 months ago
Enrico Mazzucchelli
e611320b9c
Fix minor issues
4 months ago
Alex Vanyo
1591f263a8
Update DeviceConfigurationOverride.WindowInsets to match upstream impl
...
Change-Id: Ibce5b499fc67305e12bb3862fc6aefc3647adb75
5 months ago
Don Turner
50b13ecb21
Merge pull request #1539 from android/dt/remove-ad-property
...
Remove Firebase AD_SERVICE_CONFIG property
5 months ago
Jonathan Koren
9e4532f0eb
Instrumented tests for InterestsListDetailScreen ( #1518 )
...
* Instrumented tests for InterestsListDetailScreen
Change-Id: I0325cea93bf1e1dc0b8d1fc56434d5413caf6fea
* Use BackHandler instead of asserting an Espresso exception
Change-Id: I6246fcdd51d09a609733fd83223f6d7b8c0cb6c1
* Workaround to make adaptive info use size override
currentWindowAdaptiveInfo() is not affected by using the ForcedSize
override, so the list detail scaffold directve will be calculated with
non-overridden values. This work around hoists the WindowAdaptiveInfo
so that we can pass in an appropriate value in tests.
Change-Id: Ieef99f6d710ddb70243ac5105aa7805dd638ccf8
* Spotless fixes
Change-Id: I7d8a0b3e2667ced3d73fc4f028d11823cda15455
* Review fixes
Change-Id: Iffd288c9a927f13069580c66a6ee3150abb63682
* Helper function to get topics
Change-Id: If336c4b9dac82382daf96284533a277cc58984fa
5 months ago
Don Turner
a34fee2fcb
Remove Firebase AD_SERVICE_CONFIG property
...
Change-Id: I084f98af8f7eb739be1053428593a2b880ae33f9
5 months ago
Don Turner
c072de56d6
Apply suggestions from code review
6 months ago
Don Turner
fe9652aaf1
Update app/src/main/AndroidManifest.xml
6 months ago
Don Turner
837dac809c
Merge branch 'main' into rpf-update-firebase-ktx
6 months ago
Alex Vanyo
ea4ab1895b
Add DeviceConfigurationOverride for insets to allow screenshot testing insets
...
Change-Id: Idc781bf23021c1dba0d992bda0a3233e38e7c436
6 months ago
Don Turner
a6397b7d82
Merge branch 'main' into dt/nav-safe-args
...
* main:
Kotlin 2.0.0 (#1036 )
Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/ui/NiaApp.kt
🤖 Updates screenshots
🤖 Updates baselines for Dependency Guard
Update material3-adaptive to beta01
🤖 Updates baselines for Dependency Guard
Bump androidxComposeAlpha from 1.7.0-alpha08 to 1.7.0-beta01
🤖 Updates baselines for Dependency Guard
Bump hilt from 2.51 to 2.51.1
Add NavigationSuiteScaffold
Fix state loss with workaround
Change-Id: I14d7294fe93f68b9aca6df9bf7bf87ff95583581
7 months ago
Don Turner
da8f32a2ea
Rename Destinations to Routes
...
Change-Id: Ie9120031fc3738d0640c922624f15db0e15417d7
7 months ago
Don Turner
8a15a61a50
Merge pull request #1419 from android/av/fix-state-loss-with-workaround
...
Fix state loss with workaround
7 months ago
Don Turner
488b97a071
Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/ui/NiaApp.kt
7 months ago
alexvanyo
8f2beaf889
🤖 Updates screenshots
7 months ago
Don Turner
be752e779d
Fix tests, fix spotless
...
Change-Id: I55e779abe4ee49dc93916d9e1184ed81e1b2bbd0
7 months ago
Don Turner
aba2b2c154
Remove different deeplink destination, add route for nested nav host
...
Change-Id: Idb9586752d815449243d6d529e9b655c45e395ad
7 months ago
Don Turner
68152e5056
Update to adaptive alpha12, fix merge issues
...
Change-Id: I99703db37712abb46b844beb73bb14ddd5283165
7 months ago
Don Turner
f711e69cd2
Merge branch 'main' into dt/nav-safe-args (AnimatedPane broken)
...
* main:
Save nested nav key in instance state
🤖 Updates baselines for Dependency Guard
Recreate nested nav to work with AnimatedPane
Remove forgotten Trace.endSection()
Offload connectivity monitor to a background thread
Change-Id: I4002a07484a4d633c57406aedabf9f5d813a8592
7 months ago
Don Turner
4a84cf2bf4
Add specific type for deeplinks
...
Change-Id: I63c0abb16cbf540ef72dfb945518a48113bdbf75
7 months ago
Don Turner
173ac6711a
Remove autoVerify from intent filter
...
Change-Id: Ia7460a618b2ddf8a25debce92308573bc18368a8
7 months ago
Don Turner
f67f4d1a83
Update ForYou destination to match current deeplink pattern
...
Change-Id: Ia5ab36f2d75d8d061e63c0cac5262503bc93a638
7 months ago
Don Turner
7ec21d9d2f
Fix issue where selected topic in list was not showing as selected. Minor tidy ups.
...
Change-Id: Icfa79eac6f7327c365f79fd7d15dfa1f8c77184d
8 months ago
Alex Vanyo
3fb6df7c33
Add NavigationSuiteScaffold
...
Change-Id: I36710d880bff381ed86c61632f2ab91902727775
8 months ago
Alex Vanyo
a324fcc8d3
Fix state loss with workaround
...
Change-Id: I96025bd8b2f4f59019df95d1391b832249e7dc91
8 months ago
Alex Vanyo
c2fc34c761
Save nested nav key in instance state
...
Change-Id: If1155bfbe080eb4df3c59faaec0fb4cd4da3821d
8 months ago
Alex Vanyo
1c0508a678
Recreate nested nav to work with AnimatedPane
...
Change-Id: I6b526331b7fc62b968ac39e91753a8a1e5343023
8 months ago
Don Turner
2264451bb8
Use navigation argument topicId as default value to InterestListDetailScreen
...
Change-Id: I659f729191bce00683b1621c360c8f36f00595f9
8 months ago
Don Turner
116e961f1b
Change startDestination from KClass to default instance
...
Change-Id: Ia5bb0abd366653aff5cf5a772ac11a837e96b9b1
8 months ago
dturner
8cc0fc00e6
🤖 Updates screenshots
8 months ago
Don Turner
924391cd22
Fix spotless
...
Change-Id: I7dcd7fa9544c873edeb8270f8d89b3bcb7211428
8 months ago
Don Turner
2d45b84031
Merge branch 'main' into dt/nav-safe-args
8 months ago
Don Turner
29e08ea1a0
Add deeplink action to enable testing from terminal
...
Change-Id: Ia112f87c7f1bb7fa9ebe08b82d26e00b4ad17d05
8 months ago
Don Turner
9779074997
Remove Interests2PaneViewModel as it was overkill for holding a single string value
...
Change-Id: I4767578028b55c2bc7b1763bdeef87345b9fbf06
8 months ago
Don Turner
89163b5ea1
Migrate remainder of app to type-safe navigation
...
Change-Id: I02a8efb46695b3a90701966bfea4ed76aeec131b
8 months ago
Don Turner
490997281a
Update to alpha08, use toRoute to obtain destination inside VM
...
Change-Id: I72f617c594b5e0ae272cf94d2d7288446153420a
8 months ago
Don Turner
d96bcf8ffe
Migrate Interests nested NavHost to safe args
...
Change-Id: I4f3c310be693ecbcbc8b99c4e573d7fc6e9a2f74
8 months ago
Don Turner
afad1b9ac7
Merge pull request #1383 from android/av/navigation-2.7.7
...
Update to navigation 2.7.7
8 months ago
Alex Vanyo
068cee0278
Add workaround for state loss bug
...
Change-Id: I7ac4495c8e3ada419358688c61214c33c0d4040e
8 months ago
Jose Alcérreca
ead3f49f7b
Fixes flakiness in app's screenshot tests ( #1395 )
...
* Disables WM init in app's screenshot tests
Change-Id: Ib0994e744f49b53f58c0eebd52f80c0eba67bbed
* Spotless
Change-Id: Ic0212889354481433ce45ec4292ae7be9bd24b2e
* [CI] Uploads roborazzi reports if they fail
Change-Id: I5a25a7e156d3fcb72a396d3b503e62068a20b417
* Uses unused test module and enables LocalInspection
Change-Id: Iac36347dc3d702248d7515a74823e0bc0cbf2a2b
* Fixes timezone in snackbar screenshot tests
Change-Id: Ic517e8822218abeaddd3f8d2740b03e651d72d31
* Fixes conflict
Change-Id: Ia42fb78781d2469a608183594fc25c7c69f7e76c
* 🤖 Updates screenshots
8 months ago
Jose Alcérreca
1da560f582
Revert "Configure baseline profiles in the baselineProfile lambda" ( #1398 )
...
This reverts commit 7980c1d0df
.
8 months ago