Camera: Mark unchanged streams as reconfigured to clear buffer caches
- During stream configuration, unchanged streams are not flagged as reconfigured. This prevents onStreamReConfigured from being called which is responsible for clearing buffer caches. If stream configuration happens before a buffer's on freed sequence is complete, the buffer cache for that stream remains uncleared. This can result in a hwasan error due to attempts to access the stale buffer. Test: Partner verified; CTS camera test Bug: 341740105 Flag: com.android.internal.camera.flags.enable_stream_reconfiguration_for_unchanged_streams Change-Id: I8953eae6c814a034dcdb21c63fa8b255e6b0d1ac
Loading
Please register or sign in to comment