Skip to content

🤖 Sync main to latest#724

Open
compose-devrel-github-bot wants to merge 258 commits into
latestfrom
bot-sync-main
Open

🤖 Sync main to latest#724
compose-devrel-github-bot wants to merge 258 commits into
latestfrom
bot-sync-main

Conversation

@compose-devrel-github-bot
Copy link
Copy Markdown
Contributor

Update latest with main

mlykotom and others added 30 commits May 14, 2025 20:55
* Properly handle recycling of RecomposeHighlighterModifier

After migrating to be Node based, it's possible the Modifier node can be reused. For example, when scrolling in a LazyColumn the nodes of items scrolled off the viewport may be recycled and used with items scrolling into the viewport. When this occurs, the composition count needs to be reset. Otherwise, it may look like the item scrolling into the viewport has recomposed more than it actually has.

* Fix code style
* State based TF snippets

* Apply Spotless

* updates

* Apply Spotless

* Update StateBasedText.kt

* Update StateBasedText.kt

* Update StateBasedText.kt

* Update StateBasedText.kt

* Apply Spotless
* Adding icon button snippets

* Apply Spotless

* Changing M3 extended icons to hardcoded drawables in IconButton code

* Apply Spotless

* Adding region tags

* Remove unused import

* Updating to hardcoded drawables

* Apply Spotless

---------

Co-authored-by: wardlauren <203715894+wardlauren@users.noreply.github.com>
* Adding snippet for MV-HEVC video playback

* updating the resizable snippet to include ResizeListener
* Adding TextField migration snippets

This is for the new version of https://developer.android.com/develop/ui/compose/text/user-input

* Update TextFieldMigrationSnippets.kt

optimize import

* Apply Spotless

---------

Co-authored-by: Halil Ozercan <halilibo@google.com>
* Add state based Autofill snippets

* Update AutofillSnippets.kt

* Apply Spotless
* Update StateBasedText.kt

Update state based TF snippets

* Apply Spotless

* Update StateBasedText.kt

* Apply Spotless
* Add snippet that demonstrates how to detect a secondary hand

* Add snippet to demonstrate how to detect a basic stop gesture
* Change SceneViewer intent setup
This addresses #533 by recreating the Animatable when the node is attached.
* updating setSubspaceContent snippet

* Update Activity

---------

Co-authored-by: Dereck Bridie <devbridie@users.noreply.github.com>
* Update android_system_bar_protection_kotlin to change alpha

* show less code in DAC

* use Color.rgb instead
* Fix code to also support external apps

* Sort chronologically the snippets

* Move the Activity to be used without the nullability check

---------

Co-authored-by: Rob Orgiu <robertoorgiu@google.com>
* Add comment to clarify that both callbacks can be used

* Apply Spotless

---------

Co-authored-by: Rob Orgiu <robertoorgiu@google.com>
Co-authored-by: tiwiz <2534841+tiwiz@users.noreply.github.com>
* Adds Watch Face Push validation library snippet

* Removed jar

* Removes unnecessary statement
Per Java style guide, each statement should be on its own line.

Mainly just doing this commit to test out my coding setup, though.
* Add WebView snippets

* Updated glitch.me sites on Webview
* Fix missing import

* Rethrow cancellation-exceptions
*Adding code snippets for how-to-capture section of ProfilingManager docs

Co-authored-by: edgararriagag <211581399+edgararriagag@users.noreply.github.com>
…aries (#571)

* Migrate to snapshot 13623196 (alpha05)

* Update to snapshot 13663278

* Update to snapshot 13681046

* Update to snapshot 13693757

* Remove guava dependency

* Spotless apply

* Update to snapshot 13740187

* Add snippets for xr DRM

* Update to snapshot 13790637

* Manual unrestrict on 13790637.

* Use ExoPlayer to detect compatibility

* Fix duplicated libs in toml

* Add snippets for HDR and Material improvements

* Update to public alpha05

---------

Co-authored-by: azeppenfeld <azeppenfeld@google.com>
natarajkr007 and others added 30 commits April 24, 2026 10:29
* ** made changes as per comments from PR 876 **

Refactor and simplify telecom sample apps

* Remove unused color resources and simplify themes
* Prune unnecessary dependencies from Dialer and VoIP build files
* Simplify Dialer MainActivity UI and remove unused Compose previews
* Update app names for Dialer and VoIP modules
* Remove unused lifecycle-livedata-ktx library reference from catalog

* Update Telecom snippets and resource cleanup

* Standardize snippet tags using bracketed format
* Remove redundant color and theme resource files
* Update UI layout and text in dialer and voipapp
* Remove redundant activity label in manifest

* Update telecom snippets UI and formatting

* Add fillMaxSize to Box modifiers in VoipCallbackActivity and MainActivity
* Fix indentation for call log URI snippet tag

* Consolidate telecom snippets into a single module

* Merge dialer and voipapp sub-modules into a single telecom module
* Rename MainActivity to DialerActivity
* Rename VoipCallbackActivity to VoipCallActivity
* Update package structure and consolidate resources
* Update settings.gradle.kts to reflect module changes

* Update telecom .gitignore to include test directories

---------

Co-authored-by: natarajkr <natarajkr@google.com>
Co-authored-by: Kat Kuan <843428+kkuan2011@users.noreply.github.com>
* add health connect folder

* add health connect snippets

* fix reviews

* fix reviews

* fix reviews

* spotless error

* review fix

* review fix

---------

Co-authored-by: Kat Kuan <843428+kkuan2011@users.noreply.github.com>
Demonstrate reverseLayout and snapping features in TransformingLazyColumn.
… and the upcoming Compose release (#891)

* Update compileSdk and targetSdk to 37 to support Android Studio Quail and the upcoming Compose release

* Fix ble snippets after migration to sdk 37
* add snippets for jetpack pip and notifications

Change-Id: Ia5887b6f73f0af4729544e1a30c82f915a58c054

* fixes from gemini assist code review

Change-Id: I39e13958f811889e70b72c6e71256da7c3e75e72

* add comment to replace null w/ valid activity

Change-Id: I4661f0db980c7fea5131c95101f9cefe147fd8ad

* fixes from review

Change-Id: I2f1a9b5c2366c6d7bb416e146bebaa40f78fe414

* remove unused import

Change-Id: I46f5785f220e884135395ae05246a2756de91848
* add snippets

* add snippets

* fix reviews

* fix spotless ci failing
* snippets for notifications and pip

* fixes from agent review

* ran spotlessApply

* fixes from review

* remove jpip mention

* use vector graphics

* fix compilation error

---------

Co-authored-by: Yacine Rezgui <rezgui.y@gmail.com>
* update the device lifecycle to check for connection first
* Add issuer snippets

* Apply Spotless

* Gemini changes

---------

Co-authored-by: cy245 <2625507+cy245@users.noreply.github.com>
* Add snippets for Engage SDK Skill

* `EngageWorker` and `EngagePublisher` for background data publishing using WorkManager
* `EngageBroadcastReceiver` for handling SDK publish intents
* `ClusterRequestFactory` and `ItemToEntityConverter` for data mapping
* `Constants` for holding common values like attempt counts, publish types etc.
* Update `AndroidManifest.xml` with required permissions and receiver configuration
* Add `engage-core` dependency and associated constants

* Apply Spotless

* Refactor EngageWorker error handling and fix snippet tags

* Update `EngageWorker` to use safe casts when handling `AppEngageException`.
* Add a null check and default failure result in `handlePublishException`.
* Fix a mismatched snippet tag in `ClusterRequestFactory`.

* Apply Spotless

* Refactor Engage snippets and improve error handling

* Update `EngageWorker` to return false instead of throwing an exception on unknown error codes.
* Consolidate `EngageBroadcastReceiver` registration using a single `IntentFilter` for all actions.
* Update `AccountProfile` to use the system default locale instead of a hardcoded value.

---------

Co-authored-by: huewu <1445837+huewu@users.noreply.github.com>
* Update dependencies

* Update libs.versions.toml

* update issues with android block

* Update boolean and any deprecation

* re-add health connect

* Update build.gradle.kts

* Update compile SDK and kotlin block placement

* Add safe calls to bluetooth

* Downgrade accompanist

* Update libs.versions.toml

* Update DatePickers.kt

* Address Kat review

* Update libs.versions.toml

* Updated Dependencies for compose 1.11.1

---------

Co-authored-by: Kat Kuan <843428+kkuan2011@users.noreply.github.com>
Co-authored-by: Rahul Ray <31301266+raystatic@users.noreply.github.com>
Co-authored-by: raystatic <rahulrayy@google.com>
* Add sharesheet snippets

* fixes from gemini review

* spotlessApply

* update comments to guide devs to using ViewModel to reflect state changes

* refactor code to be outside of an activity scope

Change-Id: Id4b8a3c5700838e98219d66595a76a7464888caa
* Adds EdgeButton in TLC example

* Fixes imports
* Add Navigation 3 migration snippets to wear module
* Update to snapshotVersion 15389231

* Migrations as a part of snapshot 15389231

* updating snippets for SpatialGltfModel and Gltf Introspection

* Updating SpatialGltfModel snippets

* Updating SptialGltfModel snippets for better clarity

* glimmer snipits

* Migrate VerticalList to GlimmerLazyColumn

* Update to snapshotVersion 15378830

* Add isRenderingModeSupported snippets for checking depth map support

* Address Gemini code review

* upating for relevant gemini feeback and optimizing imports

* Update to May 19 Jetpack release

* Migrations for incorrect snapshot

* Change Glimmer snippet tags to start with the correct prefix

---------

Co-authored-by: azeppenfeld <azeppenfeld@google.com>
Co-authored-by: Kathleen Bryan <kathleenbryan@google.com>
* refactor(wear): remove redundant suppressions

Remove @SuppressLint("RestrictedApi") from HelloWidgetService and HelloWidget because they are no longer needed with the public APIs in the latest Glance versions. This cleans up the code and avoids suppressing warnings unnecessarily. Also bump dependencies to match the versions in the WearWidget sample.

* refactor(wear): use RemoteString in snippet

Update HelloWidgetContent to use "Hello World".rs to avoid calling the restricted RemoteText(String) overload. This allows us to remove the last @SuppressLint("RestrictedApi") annotation from the snippet.
* Fix password state in text field migration snippet

* Remove loginViewModel from LaunchedEffect dependency

---------

Co-authored-by: Ben Sagmoe <bsagmoe@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.