Skip to content

Add Wear OS prompt handoff to Android sample - #3000

Merged
jebrans merged 2 commits into
microsoft:mainfrom
jebrans:dev/jebransyed/wearos
Sep 15, 2026
Merged

jebrans merged 2 commits into
microsoft:mainfrom
jebrans:dev/jebransyed/wearos

Conversation

@jebrans

@jebrans jebrans commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • connect the existing Wear OS sample to the mobile-2 phone sample with an encoded typeagentchat://main prompt handoff
  • add connection-aware phone handling that preserves prompts and prevents external input from answering pending confirmations
  • modernize Wear speech recognition and surface remote-launch success or failure
  • document the fire-and-forget POC boundary and the switch for disabling automatic execution

Design

This intentionally keeps the two existing Android samples as separate Gradle projects and keeps the phone as the only TypeAgent client. The watch is a thin input peripheral. Automatic execution defaults on for the POC and can be disabled with -Ptypeagent.wear.autoexecute=false.

RemoteActivityHelper requires a browsable deep link, so this is not a production authentication boundary. A production implementation should use the Wear Data Layer before enabling automatic execution broadly.

Validation

  • mobile-2: :app:testDebugUnitTest, :app:assembleDebug, :app:lintDebug
  • wearos: :app:assembleDebug, :app:lintDebug
  • 252 mobile unit tests pass, including malformed-link, pending-confirmation, disconnected, and rejected-send cases

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@jebrans

jebrans commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jebrans
jebrans marked this pull request as ready for review September 14, 2026 18:45
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@jebrans

jebrans commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@jebrans
jebrans added this pull request to the merge queue Sep 15, 2026
Merged via the queue into microsoft:main with commit 4143b3f Sep 15, 2026
22 checks passed
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.

2 participants