Expected behavior
High res(HR) image should be saved to file on moving the app to background and bringing it to foreground again while images are loading.
Actual behavior
Low res(LR) image is saved to file on moving the app to background while LR image is loading and bringing the app to foreground after it is loaded but before HR image is loaded.
For more details, see #11376 (comment).
Steps to reproduce the behavior
- Clear the app cache.
- Open preview image screen from the Gutenberg editor so that LR image loading starts.
- Click device home button to move the app to background.
- Wait for a while and bring the app to foreground from the recent apps list.
- Notice that LR image is saved in the cache.
Tested on [Pixel3a], Android [10]