* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay interface.Also hardcode model detection to pass Alipay check. * vendor.xiaomi.hardware.mtdservice@1.0.so is not actually used, thus patchelf to drop it rather than shipping a blob. * Modify libmlipay.so to allow load firmware from vendor Change-Id: Idf3d3a8d40245984767f4ef5f60f9fe584e69f21
16 lines
546 B
Text
16 lines
546 B
Text
type hal_mlipay_default, domain;
|
|
|
|
type hal_mlipay_default_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(hal_mlipay_default)
|
|
|
|
hwbinder_use(hal_mlipay_default)
|
|
get_prop(hal_mlipay_default, hwservicemanager_prop)
|
|
add_hwservice(hal_mlipay_default, hal_mlipay_hwservice)
|
|
|
|
allow hal_mlipay_default tee_device:chr_file rw_file_perms;
|
|
allow hal_mlipay_default ion_device:chr_file r_file_perms;
|
|
|
|
r_dir_file(hal_mlipay_default, firmware_file)
|
|
set_prop(hal_mlipay_default, ifaa_prop);
|
|
|
|
get_prop(hal_mlipay_default, hal_fingerprint_prop);
|