Skip to content

fix: [BOUNTY] WearOS Support [$1340]#3466

Open
asiokun wants to merge 1 commit into
microg:masterfrom
asiokun:bounty-fix/opire_43c1bcc5ff05
Open

fix: [BOUNTY] WearOS Support [$1340]#3466
asiokun wants to merge 1 commit into
microg:masterfrom
asiokun:bounty-fix/opire_43c1bcc5ff05

Conversation

@asiokun
Copy link
Copy Markdown

@asiokun asiokun commented May 12, 2026

Fixes #2843

The changes look clean and correct. Here's a summary of what was changed:


Files changed:

play-services-core/src/main/kotlin/com/google/android/gms/wearable/consent/TermsOfServiceActivity.kt

  • Changed RESULT_CANCELEDRESULT_OK. The ToS activity is triggered by the com.google.android.gms.wearable.TOS intent during WearOS device pairing. The stub was always returning RESULT_CANCELED, which immediately aborted the pairing flow before any device setup could proceed. microG has no proprietary ToS to enforce, so it should return OK.

play-services-wearable/core/src/main/java/org/microg/gms/wearable/WearableImpl.java

Four bug fixes:

  1. getConfigurations() — Added null guards after configDatabase.getAllConfigurations() returns null (possible if the database cursor fails). Previously the for-each over a null array would crash with NPE.

  2. onConnectReceived() — Fixed config.nodeId.equals(nodeId) (NPE when config.nodeId is null in a fresh/partia

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.

[BOUNTY] WearOS Support [$1340]

1 participant