Update from cupid V816.0.3.0.ULCEUXM

Change-Id: I7b8851fcd8801fef47e129e019fae792713e8330
This commit is contained in:
Arian 2024-03-08 01:26:21 +01:00
parent 821bb17f08
commit f720a9e45e
5 changed files with 15 additions and 9 deletions

View File

@ -9,5 +9,6 @@
<permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
<permission name="android.permission.SYSTEM_CAMERA" />
<permission name="android.permission.TURN_SCREEN_ON" />
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,2 @@
libcamera_algoup_jni.xiaomi.so
libcamera_mianode_jni.xiaomi.so

View File

@ -7,6 +7,10 @@
# Inherit from the proprietary version
$(call inherit-product, vendor/xiaomi/miuicamera-cupid/miuicamera-cupid-vendor.mk)
# Public libraries
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries-xiaomi.txt:$(TARGET_COPY_OUT_SYSTEM)/etc/public.libraries-xiaomi.txt
# Priv-app permission
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/privapp-permissions-miuicamera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-miuicamera.xml

View File

@ -1,8 +1,7 @@
# All unpinned blobs below are extracted from cupid V14.0.2.0.TLCMICM
# All unpinned blobs below are extracted from cupid V816.0.3.0.ULCEUXM
product/priv-app/MiuiCamera/MiuiCamera.apk:system/priv-app/MiuiCamera/MiuiCamera.apk|4be083925aae1931c9740c687e715c937d10cdf5
system/etc/public.libraries-xiaomi.txt
system/lib64/libcamera_algoup_jni.xiaomi.so
system/lib64/libcamera_mianode_jni.xiaomi.so
system/lib64/libmicampostproc_client.so
system/lib64/vendor.xiaomi.hardware.campostproc@1.0.so
product/priv-app/MiuiCamera/MiuiCamera.apk:system/priv-app/MiuiCamera/MiuiCamera.apk|20f02fd58359654d8a4a51b10bf87c498316cda9
system_ext/lib64/libcamera_algoup_jni.xiaomi.so:system/lib64/libcamera_algoup_jni.xiaomi.so
system_ext/lib64/libcamera_mianode_jni.xiaomi.so:system/lib64/libcamera_mianode_jni.xiaomi.so
system_ext/lib64/libmicampostproc_client.so:system/lib64/libmicampostproc_client.so
system_ext/lib64/vendor.xiaomi.hardware.campostproc@1.0.so:system/lib64/vendor.xiaomi.hardware.campostproc@1.0.so

View File

@ -1,6 +1,7 @@
hal_client_domain(platform_app, vendor_hal_camerapostproc_xiaomi)
binder_use(platform_app)
binder_call(platform_app, hal_camera_default)
binder_call(platform_app, vendor_hal_camerapostproc_xiaomi)
allow platform_app vendor_hal_camerapostproc_xiaomi_hwservice:hwservice_manager find;
@ -14,7 +15,6 @@ allow platform_app vendor_camera_data_file:file { getattr open read };
allow platform_app app_data_file:file execute;
# Properties
allow platform_app vendor_display_prop:file read;
get_prop(platform_app, vendor_camera_sensor_prop)
get_prop(platform_app, vendor_displayfeature_prop)
get_prop(platform_app, vendor_display_prop)
get_prop(platform_app, vendor_panel_info_prop)