summaryrefslogtreecommitdiff
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2018-12-24 12:04:48 +0800
committerIsaac Chen <isaacchen@isaacchen.cn>2018-12-29 16:34:23 +0100
commit302882abdb46c22554bae33977152281add8ef6b (patch)
treeb39b534d3b3ceae8ad2c2bf19cc1c58b283196cc /sepolicy/file_contexts
parent5f26bcf56206a337303e203be8c0b4cb76605d13 (diff)
wayne-common: Support Alipay fingerprint payment
* 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
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 6959397..2d50c7b 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -20,5 +20,8 @@
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_wayne u:object_r:hal_light_default_exec:s0
+# Mlipay
+/(vendor|system/vendor)/bin/mlipayd u:object_r:hal_mlipay_default_exec:s0
+
# Shell Script
/(vendor|system/vendor)/bin/init\.goodix\.sh u:object_r:init_fingerprint_exec:s0