[WearOS] Count bluetooth connection as online state#5086
[WearOS] Count bluetooth connection as online state#5086geekygecko merged 2 commits intorelease/8.7from
Conversation
There was a problem hiding this comment.
Pull request overview
This PR makes WearOS treat Bluetooth connections as a valid online state, so that when a watch is connected to a phone via Bluetooth (but has no WiFi or cellular), the app no longer shows the offline indicator. Previously, only WiFi and Cellular were considered valid connection types.
Changes:
- Added
NetworkType.BTas a valid connected network type inConnectivityStateManager - Updated and added tests to verify Bluetooth is treated as connected and transitions work correctly
- Bumped version to 8.7-rc-1 / 9411 and updated release notes and CHANGELOG for the 8.7 release cycle
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
wear/src/main/kotlin/.../ConnectivityStateManager.kt |
Added NetworkType.BT to the connectivity check condition |
wear/src/test/kotlin/.../ConnectivityStateManagerTest.kt |
Updated existing BT test to expect true, added new test for BT disconnect transition |
version.properties |
Bumped version name and code |
CHANGELOG.md |
Added empty 8.8 section header |
metadata/release_notes.txt |
Updated release notes content for 8.7 |
You can also share your feedback on Copilot code review. Take the survey.
| 8.8 | ||
| ----- | ||
|
|
||
|
|
There was a problem hiding this comment.
The CHANGELOG.md checklist item in the PR description is checked ("I have added an entry in CHANGELOG.md"), but the 8.8 section is empty. There should be an entry describing this change, e.g., under Bug Fixes or Updates, noting that Bluetooth connections are now counted as online state on WearOS.
|
I believe this PR was meant to target the release branch instead of |
Description
As title says.
Internal discussion: pdeCcb-c0h-p2#comment-8998
Fixes PCDROID-480
Testing Instructions
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xml