-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat(wearable): Implement CapabilityManager persistence and getAllCapabilities #3254
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
Conversation
| Please let me know if there are specific "gotchas" with the `SocketConnectionThread` I should be aware of before diving in. | ||
|
|
||
| Best regards, | ||
| [Your Name] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best regards,
[Your Name]
peak comedy, definitely not AI generated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best regards, [Your Name]peak comedy, definitely not AI generated
True 🙂i use High quality Ai model
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High quality Ai model
hahah omg.. AI can be such a helpful tool but this issue certainly requires a lot of experience with Java and Reverse Engineering on Android.
Yeah, it has gotten pretty good (especially with Opus 4.5) and can solve difficult problems but you need to provide good prompts and context to it. In this case actually testing how it works in Google Play Services and providing your findings. It's not going to figure this out on its own.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
High quality Ai model
hahah omg.. AI can be such a helpful tool but this issue certainly requires a lot of experience with Java and Reverse Engineering.
Yeah, it has gotten pretty good (especially with Opus 4.5) and can solve difficult problems but you need to provide good prompts and context to it. In this case actually testing how it works in Google Play Services and providing your findings. It's not going to figure this out on its own.
i have all that experience and check my profile where i currently work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your profile says nothing about it, it's all just empty words without any verifiable evidence.
You have a big badge "Stripe contributor" because you added one line in a types file. That already says a lot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your profile says nothing about it, it's all just empty words without any verifiable evidence. You have a big badge "Stripe contributor" because you added one line in a types file. That already says a lot.
so what you expect ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your profile says nothing about it, it's all just empty words without any verifiable evidence. You have a big badge "Stripe contributor" because you added one line in a types file. That already says a lot.
and also i too havent saw any android end to end project in your repos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and also i too havent saw any android end to end project in your repos
hahaha why did I know that this response will come. you are so predictable.. xD what does any of this to do with my contributions? I never said I have expertise in this area lol
so what you expect ?
I expected seeing how you work with Java and any reverse engineering projects. But I haven't found anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and also i too havent saw any android end to end project in your repos
hahaha why did I know that this response will come. you are so predictable.. xD what does any of this to do with my contributions? I never said I have expertise in this area lol
so what you expect ?
I expected seeing how you work with Java and any reverse engineering projects. But I haven't found anything.
Please check out my AI Trip Planner project that I’ve been working on recently I think you’ll find it insightful and learn a lot from it. https://github.com/Ashutosh0x/Ai-Trip-Planner
|
Consolidated into PR #3255 which includes both the capability fixes and the TOS result fix. |
Summary
This PR implements missing WearOS connection capability exchange logic in the wearable module. It addresses two critical issues that prevent stable WearOS pairing:
Changes
Phase 1: Persistence & API
loadCapabilities()in constructor to restore capabilities from the database on startupgetAllCapabilities()to retrieve all known local capabilitiesgetAllCapabilitiesIPC method using the manageraddLocalCapability/removeLocalCapabilityPhase 2: Connection Sync
onConnectReceived()to callsyncToPeer()immediately after a new peer connectswear:/capabilities/...DataItems) are pushed to the newly connected watchTesting
These changes should be tested with a WearOS emulator or physical watch to verify:
getAllCapabilities()returns correct dataRelated Issue
Part of the solution for #2843 (WearOS Support)