在device/rockchip/rk3588/rk3588s_s/BoardConfig.mk中配置对应宏定义的开关即可。如下修改系统不支持光感:
--- a/device/rockchip/rk3588/rk3588s_s/BoardConfig.mk
+++ b/device/rockchip/rk3588/rk3588s_s/BoardConfig.mk
@@ -23,7 +23,7 @@ BOARD_ROCKCHIP_VIRTUAL_AB_ENABLE := false
BOARD_GRAVITY_SENSOR_SUPPORT := true
BOARD_GYROSCOPE_SENSOR_SUPPORT := true
BOARD_PROXIMITY_SENSOR_SUPPORT := false
-BOARD_LIGHT_SENSOR_SUPPORT := true
+BOARD_LIGHT_SENSOR_SUPPORT := false
BOARD_COMPASS_SENSOR_SUPPORT := true