android_device_motorola_bangkk/camera/privapp-permissions-dubaicameraservice.xml
Adithya R 8808e9b818 dubai: Disable 5G when front camera is in use
On some network(s) (confirmed on Jio), the usage of 5G kills front
camera and crashes the camera app. Logs reveal hardware or firmware
issues related to interference or bandwidth, which is out of my
expertise:

[   63.301897] CAM_ERR: CAM-ISP: cam_ife_csid_irq: 5016 CSID:2 RX_ERROR_LANE0_FIFO_OVERFLOW: Skew/Less Data on lanes/ Slow csid clock:300000000Hz

Until this can be actually fixed (if ever), a temporary workaround.

Inspired by a860cc8189

Change-Id: Ifefb36cf113a5f25feda771ea7729418553e74ed
2024-03-08 04:44:51 -07:00

11 lines
385 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 ArrowOS
SPDX-License-Identifier: Apache-2.0
-->
<permissions>
<privapp-permissions package="com.arrow.dubaicameraservice">
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
</privapp-permissions>
</permissions>