Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
reidbaker opened this issue May 22, 2024 · 1 comment
Closed

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

reidbaker opened this issue May 22, 2024 · 1 comment
Assignees
Labels
cp: approved Approved cherry-pick request cp: merged Cherry-pick has been merged to the release branch. cp: review Cherry-picks in the review queue

Comments

@reidbaker
Copy link
Contributor

reidbaker commented May 22, 2024

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

@reidbaker reidbaker added the cp: review Cherry-picks in the review queue label May 22, 2024
@zanderso zanderso added the cp: approved Approved cherry-pick request label May 28, 2024
auto-submit bot pushed a commit to flutter/engine that referenced this issue May 31, 2024
…14 (#52982)

This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process#automatically-creates-a-cherry-pick-request)
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
### Issue Link

Fixes flutter/flutter#148662
CP bug flutter/flutter#148885

### Target

stable

### PR Link

TBD

### 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
@itsjustkevin itsjustkevin added the cp: merged Cherry-pick has been merged to the release branch. label Jun 4, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cp: approved Approved cherry-pick request cp: merged Cherry-pick has been merged to the release branch. cp: review Cherry-picks in the review queue
Projects
None yet
Development

No branches or pull requests

3 participants