Camera: Drop all frames when camera permission is declined
If camera access permission is declined during startCameraStreamingOps, there could still be camera frames leaked to clients because settings device state to ERROR doesn't stop Camera3OutputStreams from queuing buffers back the buffer queue. The fix it to drop buffers for all streams as soon as checkPermissionforCameraForStartDataDelivery fails. Flag: EXEMPT bugfix Test: Camera CTS and CameraPermissionTest Bug: 430808279 Change-Id: I5fc7340f1307f430b7769923850d096577a48e49
Loading
Please register or sign in to comment