mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2026-12-01 02:05:02 +00:00
f3476792131f1b6d8d267f8ad83639fd8e3f22a2
Ship the extensions bridge 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%