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

Commit 55c9ae63 authored by Rohit Sekhar's avatar Rohit Sekhar Committed by Sahil Sonar
Browse files

FP5: Include FPCamera & switch to permissive

parent 251e6e5e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -115,6 +115,8 @@ BOARD_KERNEL_CMDLINE := \
    iptable_raw.raw_before_defrag=1 \
    ip6table_raw.raw_before_defrag=1

BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive

BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_KERNEL_SEPARATED_DTBO := true
BOARD_KERNEL_PAGESIZE := 4096
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2016 The Android Open Source Project
  ~
  ~ 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
  -->
<permissions>
    <privapp-permissions package="com.fp5.camera">
         <permission name="android.permission.SYSTEM_CAMERA"/>
         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
         <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
         <permission name="android.permission.STOP_APP_SWITCHES"/>
         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
         <permission name="android.permission.CHANGE_CONFIGURATION"/>
    </privapp-permissions>
</permissions>
+4 −0
Original line number Diff line number Diff line
@@ -194,6 +194,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml

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

# Gatekeeper
PRODUCT_PACKAGES += \
    android.hardware.gatekeeper@1.0.vendor
+20 −0
Original line number Diff line number Diff line
@@ -422,6 +422,26 @@ vendor/etc/camera/tuningversion_fp5.txt
vendor/firmware/CAMERA_ICP.elf
vendor/firmware/CAMERA_ICP_170.elf

# Camera (FPCamera)
-priv-app/FPCamera/FPCamera.apk
system_ext/lib64/libtctcameraalgo_jni.tct.so
vendor/lib64/libtctcameraalgo.so
vendor/lib64/com.tct.cameraalgo.distortion.so
vendor/lib64/com.tct.cameraalgo.gs.so
vendor/lib64/com.tct.cameraalgo.hdr.so
vendor/lib64/com.tct.cameraalgo.hwmfnr.so
vendor/lib64/com.tct.cameraalgo.mirror.so
vendor/lib64/com.tct.cameraalgo.morphozoom.so
vendor/lib64/com.tct.cameraalgo.singlebokeh.so
vendor/lib64/com.tct.cameraalgo.supernight.so
vendor/lib64/com.tct.cameraalgo.tcldualbokeh.so
vendor/lib64/com.tct.cameraalgo.watermark.so
vendor/lib64/libmorpho_image_refiner.so
vendor/lib64/libanc_single_bokeh.so
vendor/lib64/libtcl_dualcam_bokeh_cap.so
vendor/lib64/libmorpho_super_resolution.so
vendor/lib64/libanc_single_bokeh_rear.so

# CDSP
vendor/bin/cdsprpcd
vendor/etc/init/vendor.qti.cdsprpc-service.rc