3,299
社区成员




在QCS6490的代码中,我们如何去掉camera相关的库和服务?
1, 在vendor的代码里, 修改device\qcom\lahaina\lahaina.mk 中关于camera的部分.
2, 注释掉这里的内容:
类似这样路径得也注释下:
hardware/interfaces/camera/provider/2.4/default/android.hardware.camera.provider@2.4-service_64.rc
1 service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
2 interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
3 class hal
4 user cameraserver
5 group audio camera input drmrpc
6 ioprio rt 4
7 capabilities SYS_NICE
8 task_profiles CameraServiceCapacity HighPerformance
以及注释掉这部分的代码:
vendor/qcom/proprietary/camx/android.hardware.camera.provider@2.4-service_64.rc
19 service vendor.camera-provider-2-4 /vendor/bin/hw/android.hardware.camera.provider@2.4-service_64
20 override
21 interface android.hardware.camera.provider@2.4::ICameraProvider legacy/0
22 interface vendor.qti.hardware.camera.postproc@1.0::IPostProcService camerapostprocservice
23 class hal
24 user cameraserver
25 group audio camera input drmrpc oem_2907
26 ioprio rt 4
27 capabilities SYS_NICE
28 task_profiles CameraServiceCapacity HighPerformance