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

Commit 5bd811e3 authored by /e/ robot's avatar /e/ robot
Browse files

Merge remote-tracking branch 'origin/lineage-17.1' into v1-q

parents e6869784 bceeb277
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
genfscon sysfs /devices/platform/mtk_disp_mgr.0/rgb u:object_r:sysfs_livedisplay_tuneable:s0
+2 −0
Original line number Diff line number Diff line
# Allow LiveDisplay rw permissions for tuneable nodes
allow hal_lineage_livedisplay_mediatek sysfs_livedisplay_tuneable:file rw_file_perms;

mediatek/sepolicy.mk

0 → 100644
+20 −0
Original line number Diff line number Diff line
#
# This policy configuration will be used by all mediatek products
# that inherit from Lineage
#

ifeq ($(TARGET_COPY_OUT_VENDOR), vendor)
ifeq ($(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE),)
TARGET_USES_PREBUILT_VENDOR_SEPOLICY ?= true
endif
endif

ifeq ($(TARGET_USES_PREBUILT_VENDOR_SEPOLICY), true)
BOARD_PLAT_PRIVATE_SEPOLICY_DIR += \
    device/lineage/sepolicy/mediatek/dynamic \
    device/lineage/sepolicy/mediatek/system
else
BOARD_VENDOR_SEPOLICY_DIRS += \
    device/lineage/sepolicy/mediatek/dynamic \
    device/lineage/sepolicy/mediatek/vendor
endif
+2 −0
Original line number Diff line number Diff line
# LiveDisplay
/system/bin/hw/lineage\.livedisplay@[0-9]\.[0-9]-service-mediatek    u:object_r:hal_lineage_livedisplay_mediatek_exec:s0
+12 −0
Original line number Diff line number Diff line
type hal_lineage_livedisplay_mediatek, coredomain, domain;
hal_server_domain(hal_lineage_livedisplay_mediatek, hal_lineage_livedisplay)

type hal_lineage_livedisplay_mediatek_exec, exec_type, system_file_type, file_type;
init_daemon_domain(hal_lineage_livedisplay_mediatek)

type hal_display_color_hwservice, hwservice_manager_type;
allow hal_lineage_livedisplay_mediatek hal_display_color_hwservice:hwservice_manager find;

type hal_display_color_default, domain;
binder_call(hal_lineage_livedisplay_mediatek, hal_display_color_default)
binder_use(hal_lineage_livedisplay_mediatek)
Loading