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
This is overriding TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH,
previously set in the common device tree and supports controlling both
wired and wireless charging.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/5965
Change-Id: I97c00d6a707281e33e6b8c5dfa817ec90714e16a
A compiled build has no chance of booting without the prebuilt
binaries, so fail the build if those are not present.
Change-Id: I8124a5f92a75490ce48422b9d760764733efe37e
* The tree has no chance of building without the common
device tree as it contains architecture definitions.
Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d
* fod radius = radius value / 2
* fod x position = x position value + (radius value / 2)
* fod y position = y position value + (radius value / 2)
* fod enroll progress radius = (radius value / 2) + 5
Change-Id: I9d3a39ab6b6b5b069e4ba66ef6baa477fd6829da
* This allows us to provide usable recovery image for people
who are still on OxygenOS dtbo as unmodified stock dtbo
defaults to 1080p. While it'll make UI slightly smaller
on Lineage dtbo, it doesn't make it unacceptable.
Change-Id: Ic216c9d17066765c1b06ffdd35f2543f412f18db