mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
When you background an activity via the back-gesture the onTrimMemory callback is not invoked but the buggy Android behaviour still occurs. Workaround this by faking an onTrimMemory callback in the `Activity#onStop` callback. Fixes #148662 Related #146499 Tested manually on a Pixel 7 Pro running Android 14.