Repository navigation
chore: sync upstream android/wear-os-samples - #16
Merged
Merged
Conversation
* build(wear-widget): update jetpack libraries
Upgrade Wear OS Glance, Remote Compose, Wear Compose, and Wear Tiles
dependencies to their latest versions:
- androidx.glance.wear:wear (1.0.0-alpha14 -> 1.0.0-alpha19)
- androidx.glance.wear:wear-core (1.0.0-alpha14 -> 1.0.0-alpha19)
- androidx.compose.remote:* (1.0.0-alpha15 -> 1.0.0-alpha20)
- androidx.wear.compose.remote:remote-material3
(1.0.0-alpha07 -> 1.0.0-alpha12)
- androidx.wear.compose:* (1.6.1 -> 1.7.0)
- androidx.wear.tiles:* (1.6.0 -> 1.6.2)
* refactor(wear-widget): simplify widget updates
- Remove unnecessary @SuppressLint("RestrictedApi") annotations in
WeatherUpdateReceiver and WeatherActivity since triggerUpdate is not
restricted.
- Use the newer GlanceWearWidget.triggerUpdateAll() API to push updates
to all active widget instances directly without boilerplate code.
* ci(wear-widget): enable lint in workflow Update WearWidget.yml to run ./gradlew check alongside verifyRoborazziDebug. This enables Android Lint and Spotless checks on CI while continuing to verify Roborazzi screenshots. * ci(wear-widget): pin actions and set permissions Pin actions/checkout and actions/setup-java to commit hashes and add contents: read permissions to satisfy the zizmor security scan.
Partial fix for android#1397. Bumps only WearOAuth to current stable AGP 9.4.1, Gradle 9.8.2, and the outdated libraries reported by lint. Other samples are intentionally unchanged. Co-authored-by: Sharan S <Devil1716@users.noreply.github.com>
Point the five adaptive icons flagged by MonochromeLauncherIcon at the existing ic_launcher_foreground drawable, matching WearWidget. android#1396 Co-authored-by: Sharan S <Devil1716@users.noreply.github.com>
) Add workflows that run ./gradlew check for WatchFacePush and each WatchFaceFormat sample. WearWidget already runs check with Roborazzi. Fix the WatchFacePush LocalContextGetResourceValueCall errors and the Spotless violations that fail check. Co-authored-by: Sharan S <Devil1716@users.noreply.github.com>
PR android#1371 (7a11e6d) pinned `org.robolectric:robolectric:4.17-SNAPSHOT` and added the Sonatype snapshots repository when introducing WearWidget before Robolectric 4.17 was released. That snapshot artifact has since expired from Sonatype Central Snapshots, failing `:app:compileDebugUnitTestKotlin` across all WearWidget CI runs. Switch `robolectric` to stable `4.17` on Maven Central (matching WearOAuth after android#1417) and remove the unused Sonatype snapshots repository from `WearWidget/settings.gradle.kts`.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fast-forward sync with
android/wear-os-samplesmain(8 commits through9a38e44):