camera: Send proper preview window updates to HAL
During setPreviewWindow call camera_preview_window instance will be passed to the HAL. camera_preview_window instance will never change when ANativeWindow is updated. Hence HAL tries to use old preview window handle not knowing that the preview window is updated. Added the check in camera interface to reset the preview handle based on whether ANativeWindow instance is changed or not. CRs-Fixed: 341892 Change-Id: I6743f24cbd4467025d6fe21098c7ce6813017d5e Frameworks: Allow CameraService to set window when preview is not running Change-Id: Iab3f652ed3a7639c660e85c98a837215985a3296 Camera: Enable metadata callback after snapshot Change-Id: I734fc596b7549d4dcc00aee466e1c4be02e38c8d CRs-fixed: 346728
Loading
Please register or sign in to comment