mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-11-28 08:43:58 +00:00
6401b33c1aea8be52cf4f4ae0f031905ac1da842
Take the extensions, the camera unit SDK they drive and its sepolicy
from vendor/oplus/camera, and declare Night and Bokeh on the main
camera in camera_unit_config, which predates the SDK's
cameraExtensionConfig. Pin the Night preview sizes, as newer Oplus
devices do, since the SDK otherwise derives portrait oriented ones from
the screen and CameraX finds no output size.
The rear portrait preview is configured for two cameras, but an
extension session has a single stream, so APS rejects every frame
("dispatchInputData() undefined case!!") and the viewfinder stays black.
Configure it for one camera.
Front Night is left out: the HAL aborts on the capture request.
Assisted-by: LLM
Change-Id: Iecbc00963d94c3f13a01a91f218b2ea10d08e443
Languages
Makefile
84%
Shell
16%