Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22651f4a authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '3950-a15-fpcam-perm' into 'a15'

grant default permissions to fpcamera

See merge request e/devices/android_device_fairphone_FP6!33
parents c2c89270 9b9ca555
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2026  E FOUNDATION

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<exceptions>
    <exception package="com.fps.camera">
        <permission name="android.permission.CAMERA" fixed="false" />
        <permission name="android.permission.RECORD_AUDIO" fixed="false" />
        <permission name="android.permission.READ_MEDIA_IMAGES" fixed="false"/>
        <permission name="android.permission.READ_MEDIA_VIDEO" fixed="false"/>
    </exception>
</exceptions>
+2 −1
Original line number Diff line number Diff line
@@ -165,7 +165,8 @@ PRODUCT_COPY_FILES += \

# FPCamera
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/permissions/privapp-permissions-fpcam.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-fpcam.xml
    $(LOCAL_PATH)/configs/permissions/privapp-permissions-fpcam.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-fpcam.xml \
    $(LOCAL_PATH)/configs/permissions/default-permissions-fpcam.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/default-permissions/default-permissions-fpcam.xml

# Fairphone Moments
$(call inherit-product, external/FairphoneMoments/config.mk)