James Rose
7826b4f5f2
Merge pull request #748 from SimonMarquis/fix/permissions
...
Grant `POST_NOTIFICATIONS` permission in more instrumented tests
2 years ago
Automerger
1c2a833e6c
Merge branch 'github/main'
2 years ago
Miłosz Moczkowski
7b30720b25
Remove nested scaffold from the bookmarks screen
...
Change-Id: Ie8b6f160d341156a6f9c02c0ca7f530095fb2950
2 years ago
Automerger
a91ba16a9c
Merge branch 'github/main'
2 years ago
Miłosz Moczkowski
479a2f00b0
Refactor icons
2 years ago
Automerger
9241b06e9f
Merge branch 'github/main'
2 years ago
Miłosz Moczkowski
ded8b109b9
Refactor custom notificationDot modifier
...
Change-Id: Ife24492a495b111f111a8bd16f21b7ebd469e5aa
2 years ago
Simon Marquis
8f41a6b3ab
Cleanup proguard configuration
...
- Remove custom KotlinX Serialization config as it's already provided, see https://github.com/Kotlin/kotlinx.serialization#android .
- Delete empty config files.
2 years ago
Simon Marquis
823c4db201
Grant `POST_NOTIFICATIONS` permission in more instrumented tests
...
Continues the work initiated in #738 .
Extract the SDK version check inside a `GrantPostNotificationPermissionRule` class that delegates to a regular `GrantPermissionRule`.
2 years ago
Automerger
0c2e01bf4e
Merge branch 'github/main'
2 years ago
Miłosz Moczkowski
fc3d0ced20
Replace hardcoded license file with OSS licenses plugin
...
Change-Id: I4427fd5d7b7abd8a2912a41f61ffedfac4af9d6a
2 years ago
Automerger
4eaad4c0a6
Merge branch 'github/main'
2 years ago
James Rose
a68eedebfa
Merge pull request #713 from android/jr/settings-dialog-state
...
Save the showSettingsDialog flag in instance state
2 years ago
James Rose
62a77321d3
Save the showSettingsDialog flag in instance state
...
This prevents the settings dialog from being dismissed when the device
is rotated.
2 years ago
Don Turner
0829cb73f7
Bump version name to 0.1.0 (versionCode 6)
...
Change-Id: I880683a37b4324f91499eeb47b418ab5e2d1242b
2 years ago
TJ Dahunsi
ef97cb941c
Route notification deep link through for you screen
2 years ago
Milosz Moczkowski
553f55f978
Merge pull request #679 from SimonMarquis/patch-3
...
Simplify String resource loading in `NavigationTest.kt`
2 years ago
Simon Marquis
1341f7c2c5
Replace unused variable with simpler method calls
2 years ago
Simon Marquis
1921c6544d
Replace deprecated methods
2 years ago
Don Turner
e1ae12129a
Merge pull request #662 from android/av/agp-8.0
...
Update to AGP 8.0
2 years ago
Takeshi Hagikura
b3cdc172cd
Implement search feature ( #685 )
...
Implement search feature
- Add a feature module named "search"
- Add a SearchScreen that is navigated by tapping the search icon at the top left corner
- Add a data layer that takes care of populating the *Fts tables and querying them by a search query
- Add a SearchViewModel that wires up the data layer of the Fts tables with the SearchScreen
The SearchScreen has following features:
- The user is able to type the search query in the TextField
- The search result is displayed as the user types
- When the search result is clicked, it navigates to:
- The InterestsScreen when a topic is clicked
- Chrome custom tab with the URL of the clicked news resource
- When the search result is clicked or the IME is explicitly closed by the user, the current search query in the TextField is saved as recent searches
- Latest recent searches are displayed in the SearchScreen
2 years ago
Simon Marquis
3a810f015b
Remove unused variables
2 years ago
Simon Marquis
091abad348
Simplify String resource loading in NavigationTest.kt
2 years ago
James Rose
b49767a88c
Rename getUserNewsResources to observeAll
2 years ago
Alex Vanyo
96a0449ba9
Add dontwarn for proguard rules
...
Change-Id: I316513bd13b30cfcdbde0caba1d9c669815601f2
2 years ago
James Rose
57c13d84bd
Incorporate code review changes: Move UserNewsResourceRepository to data
...
module; move UserNewsResource to model module. Implement unread dot for
bookmarked articles. Keep the flows cold in UserNewsResourceRepository.
2 years ago
James Rose
ebfbb5bafd
Display unread state on the news feed and bottom nav bar
...
When a news resource is unread, display a dot on its card in the news
feed. When the For You section has unread resources, display a dot on
its icon in the navigation bar.
Update the read status when a resource is opened.
2 years ago
AlfianHanantio
bcd4a6de59
Remove redundant code block for managed virtual device creation
2 years ago
Alex Vanyo
01b5f34eb3
Update to Compose Material 3 1.1.0-alpha06
...
Change-Id: I6399358ad85254243b5aff547e31e3abe92fb6ed
2 years ago
Alex Vanyo
874c2d1487
Merge pull request #561 from SimonMarquis/update/androidx-lifecycle
...
Updgrade androidx-lifecycle from 2.6.0-alpha03 to 2.6.0-alpha05
2 years ago
Caren
6a5feb767e
Merge pull request #582 from yschimke/loaders
...
Improve network pooling and avoid startup image fetches.
2 years ago
Simon Marquis
4d4f7d4a15
Merge remote-tracking branch 'origin/main' into update/androidx-lifecycle
2 years ago
Yuri Schimke
9e399b69ea
Improve network pooling and avoid startup image fetches.
...
Change-Id: If747fb0833d31ce7c9bedffd400160e979bc945e
2 years ago
Don Turner
75f8fc7e08
Bump versionCode to 5
...
Change-Id: I4d6dc6b8d1a903172b7f11ab6166f6c631b1319b
2 years ago
Don Turner
79da80756e
Merge "Remove AD_ID permission" into main
2 years ago
Don Turner
11a4bbaa48
Remove AD_ID permission
...
Change-Id: Iaf691c8ff1e8fbbbcd39b068d8bfdc29c8f6a58c
2 years ago
Don Turner
4284e6912e
Merge remote-tracking branch 'github/main' into feb9automerger
...
* github/main:
Bump version to 4
Remove unused DropdownMenu component
Route topic chip tap events up to NiaNavHost
Apply suggestions from code review
Migrate custom room configuration into a convention plugin
Update docs/ArchitectureLearningJourney.md - User action follow topic
Update docs/ArchitectureLearningJourney.md - Writing data
Change-Id: I417abcaba792bbf297a8156bb1c4cf677dcb8bea
2 years ago
Don Turner
d80668407a
Bump version to 4
2 years ago
Márton Braun
322ff63dbc
Route topic chip tap events up to NiaNavHost
...
Change-Id: I228c486f5cde1bb47530e8f115a435bfa34381a7
2 years ago
Don Turner
e3e33d8497
Merge "Add Firebase analytics. See go/nia-firebase-services." into main
2 years ago
Don Turner
2a4d0434a5
Add Firebase analytics. See go/nia-firebase-services.
...
Change-Id: I0cbbda0bba761d8019241f6165db231fe94fb689
2 years ago
Automerger
6a12392f0b
Merge branch 'github/main'
2 years ago
Simon Marquis
f9a3533df3
Updgrade androidx-lifecycle from 2.6.0-alpha03 to 2.6.0-alpha05
...
> `Transformations` is now written in Kotlin. This is a *source incompatible change* for those classes written in Kotlin that were directly using syntax such as `Transformations.map`
> Kotlin code *must* now use the Kotlin extension method syntax that was previously only available when using `lifecycle-livedata-ktx`.
> The `collectAsStateWithLifecycle()` APIs of `lifecycle-runtime-compose` are no longer in experimental status. (I09d42, b/258835424)
Changelog: https://developer.android.com/jetpack/androidx/releases/lifecycle#2.6.0-alpha05
2 years ago
Alex Vanyo
b72d0fe1af
Fix settings dialog dismissed test on non-portrait phones
...
Change-Id: I15ed475915fdef198029db2713b6f619da374cc7
2 years ago
Automerger
2bb2d0fb15
Merge branch 'github/main'
2 years ago
Alex Vanyo
9b6695d8dd
Remove unused import
...
Change-Id: I426995db727995c7af6d34082593b078756a3f9d
2 years ago
Alex Vanyo
b4de09d0b2
Use only width to determine navigation UI
...
Change-Id: Icad00b9a3eecac9762f6c6b7c3790e8cf1c161d6
2 years ago
Automerger
80cb70ae2d
Merge branch 'github/main'
2 years ago
Automerger
6371cda677
Merge branch 'github/main'
2 years ago
Márton Braun
819dd494ad
Run Spotless to add trailing commas (and apply other rule updates)
...
Change-Id: I5f8e49a3ef004c7e9e7dfe4bc55f0a35dc575209
2 years ago
Angie Sasmita
cfbf782613
Merge pull request #542 from android/as/dynamic-color-option
...
Add dynamic color option in settings for API >=32
2 years ago
Automerger
8dd9abd6ac
Merge branch 'github/main'
2 years ago
mlykotom
6b48b355cc
Merge branch 'main' into tm/fix-benchmarks-no-people
...
Change-Id: I94ca19fad5527c11a2f0f28cc43a23ab22f419a7
2 years ago
Automerger
ebb070c73b
Merge branch 'github/main'
2 years ago
Mohsen Rzna
46c1d510d4
Android-CI workflow -> GMD refactor ( #537 )
...
This PR is about updating the operating system to macOS-12 as the previous one was going to be deprecated, as well as updating the checkout to v3 to avoid the warnings in the panel; adding setup SDK action to accept the license which was missing from the beginning.
I also added imports instead of adding them directly with the codes.
As a reference, there was another PR with a similar topic, but it wasn't complete: #483
2 years ago
Angie Sasmita
6046f6e943
Add dynamic color option in settings for API >=32
...
Change-Id: Ib42c1cbd0208e98ef7610a1c8aca5d721aa464e6
2 years ago
Automerger
0aa17b5433
Merge branch 'github/main'
2 years ago
Don Turner
0365658935
Merge pull request #525 from hp902/patch/fix
...
Coil reference url fixed
2 years ago
Ben Weiss
f316be1d69
Add Firebase dependencies
...
This sets up the project for using Firebase Crashlytics and
Performance Monitoring.
Change-Id: I8d14cfd2e5c2ba1911f2c3175adc20d6714addb6
2 years ago
Takeshi Hagikura
4633609930
Introduce GMD + ATD ( #479 )
...
Introduce Gradle Managed Device definitions to modules that have instrumented tests.
At the moment, defining it as a convention plugin isn't possible due to the bug. That bug is now fixed and will be included in Android Studio Flamingo.
Once Flamingo becomes stable, convert the GMD definitions as a convention plugin (#523 )
Change-Id: I0866369e3d0bbe148ca5ec1f92bad59239a347b8
2 years ago
Harshit Pandey
c96ff9e3c8
Coil refrence url fixed
2 years ago
Muhammad Anas Shamsi
43bb4359f5
Revert "Add link of source code in app"
...
This reverts commit 197f4a5157
.
2 years ago
Muhammad Anas Shamsi
197f4a5157
Add link of source code in app
2 years ago
Muhammad Anas Shamsi
f3f01c3d2f
Typo fix for compact
2 years ago
Don Turner
0917cdebec
Refactor NiaGradientBackground to accept GradientColors
...
Change-Id: I55840b22e123490097710570bf11554554df90f9
2 years ago
Alex Vanyo
088a1de92e
Rename to shouldShowGradientBackground
...
Change-Id: I79d4b43354f9da99d91fb21ee84fc084b374f4b8
2 years ago
Alex Vanyo
2fad9fd1e5
Fix background composable
...
Change-Id: I548612191b0b99620777c3e2ad0ace56b228d27d
2 years ago
Don Turner
4e4f48e88c
Change variable name for 'not connected' message
2 years ago
Alex Vanyo
a1d47d5418
Center title bar when nav rail is visible
...
Change-Id: I341833b71504462fdbfbe5073a2465be2af95fda
2 years ago
mlykotom
1b9ed220be
Regenerate profile without people
...
Change-Id: Ia412617ac2e4212b7b9b3a3fa6f39541e53584c4
2 years ago
Jolanda Verhoef
4ba63c0de8
Remove author concept from app
...
Change-Id: Icd03c0288ba5f3f23dbcbdbefbbe802db2815793
2 years ago
Márton Braun
56b3c1d0b9
Merge pull request #468 from android/remove-stream-suffixes
...
Remove `Stream` suffixes
2 years ago
Márton Braun
e6c53a8aaa
Update baseline profile
...
Change-Id: Ida83e612d5595ea1d43f9105ac7e76f7db2f6caa
2 years ago
Márton Braun
9c22a7a4e7
Remove `Stream` suffixes
...
Change-Id: I45decae965d7e35289d3fa31fc58b8c463fbead1
2 years ago
Alex Vanyo
465d9aae06
Fix spotless
...
Change-Id: Ib46c68c765342d8c172cf2f224bb7f885803b483
2 years ago
Alex Vanyo
369cd33b7a
Add accompanist/testharness
...
Adds a usage of accompanist/testharnness to force a given DpSize for its content, overriding the density if necessary to ensure that the size is achieved. This allows testing UI at arbitrary sizes on arbitrary emulators, lessening the need for using multiple emulators at different sizes (and filtering tests) when Android-specific window size has been hoisted appropriately.
The initial test using it is a test for checking whether or not the navigation bar or navigation rail is being shown, and these tests can run on any emulator.
Change-Id: I315384e5eafac23a3cd6d3818d9828f6d3c1acfc
2 years ago
Tomáš Mlynarič
b425f9560d
Merge pull request #458 from android/tm/fix-benchmarks
...
Fix benchmarks
2 years ago
mlykotom
7db33aa041
Refactor naming according to convention
...
Change-Id: Id74e2495d5909e4978247e0d7edfb5621b2064ff
2 years ago
mlykotom
867cc549cd
Update BLP
2 years ago
Masood Fallahpoor
22b8f782eb
Make functions 'shouldUseDarkTheme' and 'shouldUseDarkTheme' private
2 years ago
mlykotom
eea70382d6
Fix code style
2 years ago
mlykotom
7ebc718ca0
Enable R8
2 years ago
mlykotom
6c1f8394d9
Fix flavors change
2 years ago
Milosz Moczkowski
fe32e90cdd
Merge pull request #412 from SimonMarquis/patch-2
...
Remove test dependency from `implementation` configuration, fixes #411
2 years ago
Milosz Moczkowski
06dac236fe
Merge pull request #420 from SimonMarquis/patch/kotlin-test
...
Migrate from JUnit assertions to Kotlin's test framework
2 years ago
Don Turner
df6207122d
Merge pull request #326 from MaximillianLeonov/redundant-label-on-activity
...
Remove redundant label on activity
2 years ago
Don Turner
c7859d3c3c
Merge pull request #324 from MaximillianLeonov/unused-color-resources
...
Remove redundant unused color resources
2 years ago
Simon Marquis
90dc300783
Migrate from JUnit assertions to Kotlin's test framework
...
Fixes #419
2 years ago
Simon Marquis
18e58678e3
Merge branch 'android:main' into patch-2
2 years ago
Simon Marquis
e050c22c88
Remove test dependency from `implementation` configuration, fixes #411
2 years ago
Don Turner
d616bf3a42
New version to trigger new build on server
...
Change-Id: I19e606f29c4d7449c09184282ba1e646ead52517
2 years ago
Don Turner
de403be3c4
Update app version
2 years ago
Don Turner
a9aa3eafab
Add data from the last 10 episodes
2 years ago
Ben Weiss
0171971dc7
Merge pull request #316 from android/bw/gradleCleanup
...
Update Baseline Profile generation
2 years ago
Ben Weiss
3ab6002531
New baseline profile
...
Change-Id: I8a20ab2f44b198afaf57f26d1bee20054ed1ce6d
2 years ago
Yura Laguta
de893cbad7
Resolves #206 , enables predictive back navigation support
2 years ago
Don Turner
505187482b
Add workaround for top app bar overlapping nav rail
2 years ago
Don Turner
1c6c812b76
Update app/src/main/java/com/google/samples/apps/nowinandroid/ui/NiaApp.kt
...
Co-authored-by: Alex Vanyo <vanyo@google.com>
2 years ago
Don Turner
dbff140b64
Fix minor issues
2 years ago
Don Turner
e5183e21e0
Resolve conflict with navigation changes from main
2 years ago