Skip to content

Commit

Permalink
Remove system IFAAService for Face Authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
xjl12 committed Mar 14, 2023
1 parent c65a889 commit 04a55ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
6 changes: 1 addition & 5 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,7 @@ PRODUCT_BOOT_JARS += \
mediatek-telecom-common \
mediatek-telephony-base \
mediatek-telephony-common

# IFAA manager
PRODUCT_PACKAGES += \
IFAAService


# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/keylayout/mtk-kpd.kl:system/usr/keylayout/mtk-kpd.kl \
Expand Down
11 changes: 11 additions & 0 deletions sepolicy/private/appdomain.te
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,22 @@ type teei_hal_wechat;
type hal_mlipay_default, domain;
type teei_hal_wechat_hwservice, hwservice_manager_type;
type hal_mlipay_hwservice, hwservice_manager_type;
type sysfs_therm;
allow appdomain teei_hal_wechat_hwservice:hwservice_manager { find };
allow appdomain hal_mlipay_hwservice:hwservice_manager { find };
allow appdomain zygote:unix_stream_socket getopt;
allow appdomain input_device:dir search;
allow appdomain oem_unlock_prop:file read;
allow appdomain proc_tty_drivers:file read;
allow appdomain self:netlink_route_socket bind;
allow appdomain sysfs_net:dir search;
allow appdomain sysfs_therm:dir search;
allow appdomain unlabeled:filesystem getattr;
allow appdomain window_service:service_manager find;
system_vendor_config_prop(vendor_payment_security_prop);
system_vendor_config_prop(vendor_fp_prop);
get_prop(appdomain, vendor_fp_prop);
get_prop(appdomain, vendor_payment_security_prop);
binder_call(appdomain, hal_mlipay_default);
binder_call(appdomain, teei_hal_wechat);

0 comments on commit 04a55ff

Please sign in to comment.