Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

Replaces the legacy JSON serialization of heatmaps with fully typed Pigeon data.

Final Android portion of flutter/flutter#117907

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

Replaces the legacy JSON serialization of heatmaps with fully typed Pigeon data.

Final Android portion of flutter/flutter#117907
Copy link

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

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 successfully migrates the Android implementation of heatmaps from a JSON-based serialization to a type-safe approach using Pigeon. The changes are well-executed, replacing manual serialization and deserialization with generated, typed data classes for heatmaps, gradients, and weighted points. This significantly improves code quality, readability, and maintainability by leveraging the type system to prevent runtime errors. The related controllers, data conversion logic, and tests have been updated accordingly, and the overall implementation is clean and robust. No issues were found during the review.

@reidbaker reidbaker added the autosubmit Merge PR when tree becomes green via auto submit App label Jan 15, 2026
@auto-submit auto-submit bot merged commit 6b3706f into flutter:main Jan 15, 2026
81 checks passed
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jan 16, 2026
flutter/packages@ce3afa4...c1b1183

2026-01-16 engine-flutter-autoroll@skia.org Manual roll Flutter from
b45a73b to 48c2475 (3 revisions) (flutter/packages#10814)
2026-01-16 engine-flutter-autoroll@skia.org Manual roll Flutter from
b45a73b to 5a2067b (4 revisions) (flutter/packages#10810)
2026-01-15 pedromassango.developer@gmail.com [url_launcher] fix: tab
traversal on web (flutter/packages#10020)
2026-01-15 stuartmorgan@google.com [google_maps_flutter] Migrate Android
heatmaps to Pigeon (flutter/packages#10758)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: google_maps_flutter platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants