Skip to content

Update replacement modes to use SubscriptionProductReplacementParams#972

Open
sidd607 wants to merge 3 commits into
mainfrom
sidd607/play-billing-samples
Open

Update replacement modes to use SubscriptionProductReplacementParams#972
sidd607 wants to merge 3 commits into
mainfrom
sidd607/play-billing-samples

Conversation

@sidd607

@sidd607 sidd607 commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Update replacement modes to use SubscriptionProductReplacementParams.ReplacementMode instead of int

@sidd607 sidd607 requested a review from a team as a code owner July 1, 2026 11:10
@sidd607 sidd607 enabled auto-merge (squash) July 1, 2026 11:11

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the subscription product replacement logic in Subscriptions.kt by replacing hardcoded integers with explicit SubscriptionProductReplacementParams.ReplacementMode constants and uncommenting the billing flow launch. The review feedback correctly points out that redundant semicolons should be removed from the Kotlin statements to adhere to standard coding style.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread playbilling/src/main/java/com/example/pbl/kotlin/Subscriptions.kt Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

1 participant