- Disable software EIS on Dipper to avoid Vidhance EIS node timeout and camera HAL crash during video recording. Dipper uses hardware OIS.
- Add relative_path ('DCIM/Camera/') to ContentValues for MediaStore inserts across all photo and video capture modules to comply with modern Scoped Storage / MediaProvider requirements.
- Add MANAGE_EXTERNAL_STORAGE, ACCESS_MEDIA_LOCATION, and media permissions to AndroidManifest.xml, privapp permissions, and default permissions.
- Add android:requestLegacyExternalStorage='true' to AndroidManifest.xml.
Change-Id: If96da699d85ccf6d61db1a97b7baf07332d46214
29 lines
1.4 KiB
XML
29 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024-2026 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<exceptions>
|
|
<exception package="com.android.camera">
|
|
<!-- Camera -->
|
|
<permission name="android.permission.CAMERA" fixed="true" />
|
|
<!-- Location -->
|
|
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="true" />
|
|
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="true" />
|
|
<!-- Microphone -->
|
|
<permission name="android.permission.RECORD_AUDIO" fixed="true" />
|
|
<!-- Phone -->
|
|
<permission name="android.permission.READ_PHONE_STATE" fixed="true" />
|
|
<!-- Storage -->
|
|
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="true" />
|
|
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="true" />
|
|
<permission name="android.permission.MANAGE_EXTERNAL_STORAGE" fixed="true" />
|
|
<permission name="android.permission.ACCESS_MEDIA_LOCATION" fixed="true" />
|
|
<permission name="android.permission.READ_MEDIA_IMAGES" fixed="true" />
|
|
<permission name="android.permission.READ_MEDIA_VIDEO" fixed="true" />
|
|
<permission name="android.permission.READ_MEDIA_AUDIO" fixed="true" />
|
|
<!-- Notifications -->
|
|
<permission name="android.permission.POST_NOTIFICATIONS" fixed="true" />
|
|
</exception>
|
|
</exceptions>
|