Explore using lower-memory bitmap configs (RGB_565, etc.) instead of ARGB_8888 where full alpha/color depth isn't needed — e.g. Session Replay screenshot capture — to reduce memory pressure and OOM risk.
Tradeoffs: RGB_565 drops the alpha channel and reduces color depth, so any use needs to be scoped carefully (screenshots vs. general bitmap handling). Related but distinct from #4154 (screenshot export encoding format PNG vs JPEG) — this is about the in-memory Bitmap.Config used during capture, not the exported encoding.
Explore using lower-memory bitmap configs (RGB_565, etc.) instead of ARGB_8888 where full alpha/color depth isn't needed — e.g. Session Replay screenshot capture — to reduce memory pressure and OOM risk.
Tradeoffs: RGB_565 drops the alpha channel and reduces color depth, so any use needs to be scoped carefully (screenshots vs. general bitmap handling). Related but distinct from #4154 (screenshot export encoding format PNG vs JPEG) — this is about the in-memory Bitmap.Config used during capture, not the exported encoding.