-
Notifications
You must be signed in to change notification settings - Fork 6k
Return an empty optional in HardwareBuffer::GetSystemUniqueID if the underlying NDK API is unavailable #51839
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
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.
IMO we should have a test for this, espcially since its causing a regression.
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.
💀
This should happen on devices with levels >=29 and < 31 (so just 29 and 30).
I know we have tests on < 29 and pretty sure one of the later ones. But not sure about just those two versions.
…underlying NDK API is unavailable
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.
LGTM!
7fab718
to
b4e6f10
Compare
Added a test that temporarily disables the API in the proc table |
I filed flutter/flutter#146146 to list the current major version breaks. |
…ID if the underlying NDK API is unavailable (flutter/engine#51839)
…146169) flutter/engine@5f6dec8...bb4ec2d 2024-04-02 [email protected] Add an engine switch that controls whether the platform isolate API is available. (flutter/engine#51784) 2024-04-02 [email protected] Run `DrawSolidBlueScreenTest` 20x in a row in `bringup` (up from 5x) (flutter/engine#51850) 2024-04-02 [email protected] Return an empty optional in HardwareBuffer::GetSystemUniqueID if the underlying NDK API is unavailable (flutter/engine#51839) 2024-04-02 [email protected] Use `fml::ScopedCleanupClosure` instead of `DeathRattle`. (flutter/engine#51834) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] 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
…underlying NDK API is unavailable (flutter#51839)
…underlying NDK API is unavailable (flutter#51839)
… the … (#51910) b/332810673 â�¦underlying NDK API is unavailable (#51839) *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
…underlying NDK API is unavailable (flutter#51839)
No description provided.