Skip to content

[CP] Platform View + Android 14 + multi activity fix #148885

@reidbaker

Description

@reidbaker

Issue Link

#148662

Target

stable

PR Link

flutter/engine#52982

Changelog Description

Platform view fix for android 14 when multiple activities are used and onMemoryTrim is called.

Impacted Users

Users shipping flutter apps on android 14 that use platform viewss

Impact Description

Platform views stop rendering new frames.

Workaround

No app level work around.

Risk

low

Test Coverage

no

Validation Steps

App is launched
App is backgrounded (via a back-gesture swipe)
Android Bug triggers HERE
no onTrimMemory callback fires
App is resumed
Platform views don't render

Metadata

Metadata

Assignees

Labels

cp: approvedApproved cherry-pick requestcp: mergedCherry-pick has been merged to the release branch.cp: reviewCherry-picks in the review queue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions