-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: reviewCherry-picks in the review queueCherry-picks in the review queue
Description
Issue Link
Target
beta
PR Link
Source pr:
flutter/engine#52370
CP pr: flutter/engine#52491
Changelog Description
Workaround for Android Platform views not displaying after background + trimMemory on android 14.
Impacted Users
Flutter Android developers who use platform views
Impact Description
Apps using platform views when backgrounded and under memory pressure (trimMemory) the platform views fail to render more frames.
Workaround
No work around other than to update the engine.
Risk
medium
Test Coverage
Some
Validation Steps
- Launch app with platform view on an Android 14 host device.
- Background the app and either open the camera or run
adb shell am send-trim-memory <APP PACKAGE> BACKGROUND - Re launch the app
- Notice platform views are not getting new frames but are still interactable.
Metadata
Metadata
Assignees
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: reviewCherry-picks in the review queueCherry-picks in the review queue