Android16 rk3576修改系统自适应亮度曲线

Android16 rk3576修改系统自适应亮度曲线
RK平台默认的自适应亮度有时候很难满足个人的项目需求,这里记录一下自己修改系统自适应亮度逻辑的过程。 1.修改驱动:在kernel-6.1\drivers\input\sensors\lsensor\sdf_dals_z1p.c里面:/* * drivers/input/sensors/lsensor/ls_sdf_dals_z1p.c * * Copyright (C) Rockchip Electronics Co., Ltd. * * Authors: Bin Yang yangbin@rock-chips.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 of * the License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Gen