Skip to content

chore: sync upstream android/wear-os-samples - #16

Merged
yschimke merged 8 commits into
mainfrom
agent/sync-upstream
Nov 19, 2026
Merged

yschimke merged 8 commits into
mainfrom
agent/sync-upstream

Conversation

@yschimke

Copy link
Copy Markdown
Owner

ithinkihaveacat and others added 8 commits October 1, 2026 14:57
* 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`.
@yschimke
yschimke merged commit f78f12d into main Nov 19, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T22:39:48.863135Z 9a38e44 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

3 participants