Skip to content

Wear OS support: TOS, Bluetooth RFCOMM, notification/media/call bridges - #3756

Open
Gurjotharika wants to merge 1 commit into
microg:masterfrom
Gurjotharika:feat/wearos-support-2843
Open

Wear OS support: TOS, Bluetooth RFCOMM, notification/media/call bridges#3756
Gurjotharika wants to merge 1 commit into
microg:masterfrom
Gurjotharika:feat/wearos-support-2843

Conversation

@Gurjotharika

@Gurjotharika Gurjotharika commented Aug 31, 2026

Copy link
Copy Markdown

Summary

  • Implements missing Wear OS pairing pieces for #2843: TermsOfServiceActivity for com.google.android.gms.wearable.TOS (Galaxy Watch / companion hang), Bluetooth RFCOMM using WearableBt/Flow/Flow15 UUIDs instead of generic SPP, and restore of enabled connection configs.
  • Wires client NodeApi / DataApi / MessageApi through GmsConnector so Wear apps can talk to companion apps (local node, connected nodes, data items, messages, listeners).
  • Adds notification mirroring (NotificationListenerService + Data/Message paths), media session control, and call answer/end/silence, plus a Wear OS settings page and self-check Bluetooth/call permissions.

Test plan

  • Galaxy Watch / Wear OS companion launches TOS and pairing continues after Accept
  • Bluetooth RFCOMM session logs WearableBt (not SPP) and getConnectedNodes returns the watch
  • Phone notification appears on the watch after granting notification access
  • Watch media controls affect the phone's active session; watch can silence/end a ringing call
  • A Wear app MessageApi.sendMessage / DataApi.putDataItem reaches the companion app on the phone
  • Unit tests: WearableBtUuidsTest (UUID is not SPP, MAC detection, notification payload round-trip)

…ion/media/call bridges.

Companions currently hang on a missing TOS activity and only get a TCP debug socket, so modern watches cannot pair. This wires the WearableBt RFCOMM UUIDs, client Node/Data/Message APIs, and phone-side notification/media/call controls so Wear apps can talk to companions on microG.

Co-authored-by: Cursor <cursoragent@cursor.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.

2 participants