* Updated minimum brightness calculation from 4/2047 to 4/4095
to align with display DTSI's max level (qcom,mdss-brightness-min-level = 1,
qcom,mdss-brightness-max-level = 4095).
* Synced screenBrightnessRamp with Oplus SM8650.
* screenBrightnessMap is preferred as it supports only floating-point values.
* Calculated High Brightness Mode (HBM) transition point as 2047/(4095-4).
The transition lux is also obtained from OplusSmartBrightnessController.
* Removed some overlays so as to prefer the defaults.
* Update auto brightness overlays from stock display dumpsys under
OplusSmartBrightnessController.
Change-Id: I0b2513be866728f3ddf93f7fbe296d78d862c813
Moving the corresponding core_64_bit_only make file after removing the
entry from the common64.mk file. This is to enable the GSI components for
64 bit option available.
Change-Id: Idefd924e096371ae53fd76781257667b4f5a2fb7
* Stock oplus camera does not expose 480p videos on any cameras and they are not needed.
* Rear Main camera: 60fps video is supported on oplus camera but unexposed, so lets expose it.
* Front cam: Only HD and FHD qualities are exposed and only upto 30fps in oplus camera. The same modes are exposed properly.
* UW: Supports upto HD FHD 30|60 fps but with shitty quality even in oplus camera. Oplus camera switches to main lens if 4k quality is selected. 60fps remains unexposed, so lets expose it
* Microscope supports HD 30|60 FPS modes. But unsupported FHD quality is exposed too.
sensorlocationX is calculated as width/2
sensorlocationY is calculated as (height - persist.vendor.fingerprint.optical.iconlocation) ie (3216 - 753 = 2463)
sensorRadius is calculated as persist.vendor.fingerprint.optical.iconsize/2 ie (228/2 = 114)
config_udfpsEnrollProgressBar is calculated as sensorRadius+5
Change-Id: If6556437abc7c760a45bd3f73f34e38f5d9bb3f2
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.
Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
We enabled smooth display in sm8350-common, but we purposely left out
setting the max refresh rate there as not all the sm8350 devices have
the same peak refresh rate. Set it for each device instead.
Change-Id: I26963dd1e26bf39ef2613a3ffc784a0128a3e3b1
Main back camera (cam ID 0) and ultra-wide back camera (cam ID 2)
support recording resolutions up to 2160p.
Change-Id: Iacdc4dbb0f8c9999d46cc06f928599d58eacc4e8
Phasing out config_roundedCornerMultipleRadius config from device
overlay package.
Bug: 224688507
Test: Build ROM and pass presubmit test
Change-Id: I5cb7efdde8b03f89b74d775612b20e78c6e4d89d
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