Skip to content

Commit

Permalink
sdm845-common: Remove IMS & DPM Symlinks
Browse files Browse the repository at this point in the history
* Remove sepolicy rules for older IMS blobs

This reverts commit 09ec37c & a5ab783.

Change-Id: I0f62585111ae4d268386dfd1b720c7dad63e9f0c
  • Loading branch information
PainKiller3 authored and RahulGorai0206 committed Jan 5, 2024
1 parent 0dd7ab1 commit 7bb161e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
10 changes: 0 additions & 10 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ $(DSP_MOUNT_POINT): $(LOCAL_INSTALLED_MODULE)

ALL_DEFAULT_INSTALLED_MODULES += $(FIRMWARE_MOUNT_POINT) $(BT_FIRMWARE_MOUNT_POINT) $(DSP_MOUNT_POINT)

IMS_LIBS := libimscamera_jni.so libimsmedia_jni.so
IMS_SYMLINKS := $(addprefix $(TARGET_OUT_SYSTEM_EXT_APPS_PRIVILEGED)/ims/lib/arm64/,$(notdir $(IMS_LIBS)))
$(IMS_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "IMS lib link: $@"
@mkdir -p $(dir $@)
@rm -rf $@
$(hide) ln -sf /system_ext/lib64/$(notdir $@) $@

ALL_DEFAULT_INSTALLED_MODULES += $(IMS_SYMLINKS)

RFS_MSM_ADSP_SYMLINKS := $(TARGET_OUT_VENDOR)/rfs/msm/adsp/
$(RFS_MSM_ADSP_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
@echo "Creating RFS MSM ADSP folder structure: $@"
Expand Down
11 changes: 0 additions & 11 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ source "${HELPER}"

function blob_fixup() {
case "${1}" in
system_ext/etc/permissions/qcrilhook.xml)
;&
system_ext/etc/permissions/telephonyservice.xml)
sed -i "s/\/product\/framework\//\/system_ext\/framework\//g" "${2}"
;;
system_ext/etc/permissions/qti_libpermissions.xml)
sed -i "s/name=\"android.hidl.manager-V1.0-java/name=\"[email protected]/g" "${2}"
;;
system_ext/lib64/lib-imsvideocodec.so)
grep -q "libgui_shim.so" "${2}" || ${PATCHELF} --add-needed "libgui_shim.so" "${2}"
;;
vendor/lib/camera/components/com.qti.node.watermark.so)
grep -q "libpiex_shim.so" "${2}" || ${PATCHELF} --add-needed "libpiex_shim.so" "${2}"
;;
Expand Down
1 change: 0 additions & 1 deletion sepolicy/vendor/hal_imsrtp.te

This file was deleted.

2 changes: 0 additions & 2 deletions sepolicy/vendor/radio.te
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
allow radio { hal_datafactory_hwservice hal_iwlan_hwservice }:hwservice_manager find;
allow radio { cameraserver_service mediaextractor_service mediaserver_service mediametrics_service drmserver_service audioserver_service }:service_manager find;

binder_call(radio, cnd)
binder_call(radio, gpuservice)
binder_call(radio, hal_imsrtp)

get_prop(radio, qcom_ims_prop)

0 comments on commit 7bb161e

Please sign in to comment.