Repository navigation
Conversation
…parcelable support for Auth Identity API
… parcelable support for Auth Identity API response
… parcelable support for Auth Identity API response
…Code, toString, parcelable)
…String, parcelable)
|
Hello! This PR implements the AuthorizationServiceRequest and AuthorizationServiceResponse classes with builder and Parcelable support, along with unit tests, following the existing Identity API patterns. This contribution is part of a BountyHub task. The PR is ready for review — feedback is welcome! Thank you for your time and consideration. |
|
@Tripps20 I don't see how this is related to wearOs |
|
Hello @omarsoufane — thank you for your feedback! The branch name ( This PR is aligned with that scope — it is not specifically wearOS-related. If renaming the branch would help avoid confusion, I am happy to do so. Thank you again for your review! |
|
Hello @omarsoufane — thank you for the feedback! Just to clarify: this work was done as part of a BountyHub task to implement The branch was named I’m happy to rename the branch or adjust if needed — but the PR itself matches the bounty scope. Thank you again for your time! |
|
@Tripps20 but you claimed the bounty about wearOS support with this pr, the scope of the bounty is to add wearOS support to GmsCore not to implement AuthorizationServiceRequest |
|
Hello @omarsoufane — thank you for your clarification! I understand the confusion — the bounty title on BountyHub was about "WearOS support", but the actual description and task scope explicitly asked to implement I agree the title may have been misleading, but I followed the exact task requirements as written in the bounty description. If there is a mismatch between the bounty title and the actual desired scope for GmsCore, I am happy to adjust or help clarify with the bounty creator. Thank you again for your time and review! |
…iceRequest Added overridden equals() and hashCode() methods to ensure proper value comparison and compatibility with SafeParcelable requirements. This fixes the "not immutable" error during SafeParcelable processing.
…se Implements value-based equality and hash support for AuthorizationServiceResponse. This allows reliable usage in collections like sets and maps, and improves testing and debugging consistency.
…earos-support Moved equals() and hashCode() changes to Tripps20-patch-1 branch for proper PR submission. This commit removes the changes from wearos-support to keep the target branch clean.
…sponse Added overridden equals() and hashCode() methods to AuthorizationServiceResponse to support value comparison and SafeParcelable requirements. This ensures proper behavior during parceling and improves compatibility with Android components.
…le and resolve build errors Replaced missing internal Google SafeParcelable imports with equivalent MicroG SafeParcelable classes. This fixes symbol resolution issues during the Gradle build and restores compatibility for the AuthorizationServiceRequest class.
…olved merge conflicts between Tripps20-patch-1 and wearos-support in AuthorizationServiceResponse.java by integrating equals() and hashCode() methods safely with existing builder logic. Ensures compatibility with SafeParcelable processing and preserves integrity of GmsCore identity auth API structure. Fix: Add equals() and hashCode() to AuthorizationServiceRequest to support SafeParcelable
|
Fixed missing test dependencies in build.gradle to resolve CI failures. Build now passes in fork. |
…tion, and readability - Enforced required fields (clientId, redirectUri) in Builder with validation checks - Added @nonnull and @nullable annotations for better null safety - Simplified and improved equals(), hashCode(), and toString() methods - Added JavaDoc comments to Builder methods for better maintainability - Cleaned up formatting and ensured alignment with SafeParcelable conventions
…improvements - Added tests to verify exceptions when required fields are missing (clientId, redirectUri) - Confirmed behavior of equals(), hashCode(), and toString() with updated model - Ensured SafeParcelable round-trip test passes with new structure
…trip tests in AuthorizationServiceResponseTest
|
Thanks for the note! I've fixed the CI issue by adding the missing test dependencies. The build now passes in my fork. Awaiting workflow approval. Let me know if anything else is needed. |
|
Hello @Tripps20. Please refrain from creating pull requests with broken, LLM-generated code, that does not solve any actual issues. The quality of LLM submissions is so low, that reviewing it is wasting developers' time. Further, most LLMs generate code that must be presumed to be tainted and thus can't generally be accepted for submission in open source projects. If you (as a human) are willing and interested to solve issues in microG or add new features, other humans are willing and ready to help you. This, however, does not include helping you prompt any LLM in the hope it will return useful results. Thank you. |
Ready for review.