-
Notifications
You must be signed in to change notification settings - Fork 311
Add initial Wear OS heart rate provider support #1378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
roberi
wants to merge
25
commits into
jonasoreland:master
Choose a base branch
from
roberi:feature/initial-wear-hr-support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
12b97a6
Add 'Wear OS' menu option to HRSettingsActivity
roberi 061a94c
Add skeleton implementation for WearHRProvider
roberi 7be7a56
Enhance WearHRProvider with CapabilityClient discovery
roberi 1fcf452
Declare heart rate monitoring capability
roberi bf01b28
Implement connect/disconnect logic in WearHRProvider
roberi d2d7d4b
Add helper method for posting actions to HRClient
roberi a618141
Add body sensors permission
roberi 2b6b9d1
Implement service to receive HR control messages from phone
roberi 6c9a642
Implement service to manage heart rate sensor
roberi ebc7a47
Initialize and manage HR sensor in HeartRateService
roberi a9c353b
Extract and log heart rate value from SensorEvent
roberi c080790
Allow phone to control HeartRateService start/stop
roberi f0cdf25
Send HR data to phone with accuracy filtering
roberi 10ff19e
Enable WearHRProvider to receive HR data from Wear OS
roberi 0636b25
Add BODY_SENSORS runtime permission check in HeartRateService
roberi 60f799d
Improve error handling for Play Services and device scanning
roberi b887796
Remove <application> tag from hrdevice manifest
roberi 6602c5b
Improve parsing of nested Android permissions
roberi 9f156e6
Support READ_HEART_RATE permission for Wear OS 6+
roberi fee1319
Track battery level in HeartRateService
roberi 9b4b9a2
Send Wear OS battery level to phone
roberi 5841179
Receive Wear OS battery level in WearHRProvider
roberi 8b406c9
Address Copilot review feedback
roberi 6828ef1
Suppress WearRecents lint warning in launchPermissionActivity
roberi 71b8bea
Run .\gradlew spotlessApply
roberi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| <resources> | ||
| <string name="app_name">HRDevice</string> | ||
|
|
||
| <string name="pref_bt_paired_ble">pref_bt_paired_ble</string> | ||
| <string name="pref_bt_experimental">pref_bt_experimental</string> | ||
| <string name="pref_bt_mock">pref_bt_mock</string> | ||
| <string name="pref_bt_wear_os">pref_bt_wear_os</string> | ||
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.