Jaehwa Noh
ee3e519140
Fix spotless.
...
Change-Id: I741418a1e44fd9e3488513bdb33995490738679d
9 months ago
Jaehwa Noh
3af1cba336
Exclude the ime window inset at the snack bar.
...
Change-Id: I14a43609090176604e42caf2862bcb4ba291fe89
9 months ago
Alex Vanyo
6943267466
Merge pull request #1855 from SimonMarquis/deprecated-centerAlignedTopAppBarColors
...
Replace deprecated `centerAlignedTopAppBarColors` with `topAppBarColors`
11 months ago
Ben Weiss
b62bd5ab34
Remove death penalty from strict mode violations ( #1857 )
...
The app was still crashing in non-debug after strict mode was enabled. Less restrictive, now only logging violations
Closes #1853
Closes #1809
11 months ago
Simon Marquis
66b80aa9c3
Replace deprecated `centerAlignedTopAppBarColors` with `topAppBarColors`
...
from a recent material3 update: https://developer.android.com/jetpack/androidx/releases/compose-material3#1.4.0-alpha06
11 months ago
Alex Vanyo
c5242ea2a7
Rename highlightSelectedTopic to shouldHighlightSelectedTopic
...
Change-Id: I5869404bc66d878030faf1ae2d5b95cc27ce67b4
1 year ago
Alex Vanyo
92994adb1d
Rename to topicRoute
...
Change-Id: I44696efe11f8d660bb7c9dc41ade6927ce15798b
1 year ago
Alex Vanyo
c63dc9907e
Add predictive back and pane expansion back handling
...
Change-Id: I8e881bb2cf549303be8612732bfb7df7555096aa
1 year ago
Alex Vanyo
131ded3f76
Assisted inject approach
...
Change-Id: I5fba15921520bc83b13601fa82ae71457d875805
1 year ago
Alex Vanyo
89d70aaa8a
Update to material3-adaptive 1.1
...
Change-Id: I4b3b68face17149ab87135df28baa41cd5bacb0f
1 year ago
Jaehwa Noh
bce0d9a39d
Merge branch 'android-remote-main' into fix-snackbar
...
Change-Id: If0f12500cb55daae98fd7ee0951d3d3384d26b0e
# Conflicts:
# app/src/testDemo/screenshots/insets_snackbar_compact_medium.png
# app/src/testDemo/screenshots/insets_snackbar_expanded_expanded.png
# app/src/testDemo/screenshots/insets_snackbar_medium_medium.png
1 year ago
Don Turner
904e6fccee
Merge pull request #1730 from seve-andre/force-dark-opt-out
...
Opt out of Force Dark mode
1 year ago
Andrea Severi
38dcac5340
remove API 29 themes.xml
1 year ago
Andrea Severi
67646f3fd5
replace version code with api level
1 year ago
Tomáš Mlynarič
b2c71025b5
Merge branch 'main' into mlykotom/optimize-startup
...
Change-Id: If8e49d8c5e3873657aef3592c2202839f70e7be9
# Conflicts:
# app/src/main/kotlin/com/google/samples/apps/nowinandroid/MainActivity.kt
1 year ago
Don Turner
013424896c
Merge pull request #1050 from android/bw/threadPolicy
...
Enable the thread police 👮 for debug builds
1 year ago
Ben Weiss
27a05c416e
Extract strict mode policy into function
...
Change-Id: If170b2b05859ebfca7bc91ccc790be5b43a1b772
1 year ago
Ben Weiss
225f05e697
Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/NiaApplication.kt
...
Co-authored-by: Don Turner <dturner@users.noreply.github.com>
1 year ago
Andrea Severi
1927b6d9bd
fix xml spotless check
1 year ago
Don Turner
462440e990
Merge pull request #1695 from gibachan/remove-redundant-annotations
...
Remove redundant annotations
1 year ago
Ben Weiss
e8035622b3
Enable the thread police 👮 for debug builds
...
* App will now crash if someone does funky stuff on the main thread.
Change-Id: I9026c100705f2fec6963a1d888b40906186f9d28
1 year ago
Andrea Severi
95ab14601f
opt out of forced dark mode
1 year ago
Tram Bui
827d3d66e2
incorporate safe fallback destination to null destination UI flickering
1 year ago
Jaehwa Noh
23ba734a04
Ensure showing snackBar on a large screen.
...
Change-Id: I0fd13d756b6967d939991422ad03c05f2e2a18ff
1 year ago
gibachan
2190258ef9
Remove redundant annotations
1 year ago
Don Turner
d4087b74a1
Merge pull request #1681 from android/dt/improve-navigation
...
Fix topic chip navigation from ForYou screen
1 year ago
Don Turner
89795c98b5
Fix spotless
1 year ago
Don Turner
ef132e07e3
Fix the top app bar logic for top level destinations
1 year ago
Don Turner
5994d8c6fd
Add TopicScreen as a sub destination in the ForYou section. Fixes #1463
1 year ago
Simon Marquis
567a6e7da2
Delete unused color
1 year ago
Momin Tahir
4699fa9d6c
make view model instance as private in MainActivity ( #1621 )
1 year 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.
1 year ago
Don Turner
7ed2b12d4f
Fix #1595 navigation to topic detail screen causes crash
...
Change-Id: Ib5e764d47cbb810df5af12c2345f4f85baeac6b2
2 years ago
Don Turner
6cf8db2ac7
Merge branch 'main' into dt/nav-safe-args
2 years ago
Don Turner
8d57134663
Fix spotless
...
Change-Id: Ib093c206809a470b7f6135933bd2a72046865684
2 years ago
Don Turner
4b3f5370b9
Clean up deep link handling
...
Change-Id: I9d589cfe5c20a6b55708b99f5d79b10271af8ab4
2 years 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
2 years ago
Don Turner
e19c31570b
Tidy up top level destination handling
...
Change-Id: I385b6f49ba37801e40bb90254abe96e2350d48e8
2 years ago
Enrico Mazzucchelli
e611320b9c
Fix minor issues
2 years ago
Don Turner
50b13ecb21
Merge pull request #1539 from android/dt/remove-ad-property
...
Remove Firebase AD_SERVICE_CONFIG property
2 years 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
2 years ago
Don Turner
a34fee2fcb
Remove Firebase AD_SERVICE_CONFIG property
...
Change-Id: I084f98af8f7eb739be1053428593a2b880ae33f9
2 years ago
Don Turner
c072de56d6
Apply suggestions from code review
2 years ago
Don Turner
fe9652aaf1
Update app/src/main/AndroidManifest.xml
2 years ago
Don Turner
837dac809c
Merge branch 'main' into rpf-update-firebase-ktx
2 years 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
2 years ago
Don Turner
da8f32a2ea
Rename Destinations to Routes
...
Change-Id: Ie9120031fc3738d0640c922624f15db0e15417d7
2 years ago
Don Turner
8a15a61a50
Merge pull request #1419 from android/av/fix-state-loss-with-workaround
...
Fix state loss with workaround
2 years ago
Don Turner
488b97a071
Update app/src/main/kotlin/com/google/samples/apps/nowinandroid/ui/NiaApp.kt
2 years ago
Don Turner
be752e779d
Fix tests, fix spotless
...
Change-Id: I55e779abe4ee49dc93916d9e1184ed81e1b2bbd0
2 years ago