From 349700cece0d1f6d93c0cc4347e02bf6e664c003 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Mon, 13 Sep 2021 11:59:57 +0800 Subject: [PATCH] remove twoshay It does not eexist on raven claw on Build ID 7726471 Bug: 196916111 Test: boot to home Change-Id: Ie358657de3f4dfd6704288798dc2a198f25ae419 --- legacy/file_contexts | 1 - legacy/hal_dumpstate_default.te | 1 - legacy/platform_app.te | 1 - legacy/twoshay.te | 10 ---------- 4 files changed, 13 deletions(-) delete mode 100644 legacy/twoshay.te diff --git a/legacy/file_contexts b/legacy/file_contexts index f68c19d4..04656075 100644 --- a/legacy/file_contexts +++ b/legacy/file_contexts @@ -206,7 +206,6 @@ # Touch /dev/touch_offload u:object_r:touch_offload_device:s0 -/vendor/bin/twoshay u:object_r:twoshay_exec:s0 # Zram /data/per_boot(/.*)? u:object_r:per_boot_file:s0 diff --git a/legacy/hal_dumpstate_default.te b/legacy/hal_dumpstate_default.te index 38381b15..d4cb32c8 100644 --- a/legacy/hal_dumpstate_default.te +++ b/legacy/hal_dumpstate_default.te @@ -59,7 +59,6 @@ allow hal_dumpstate_default sysfs_thermal:file r_file_perms; allow hal_dumpstate_default sysfs_thermal:lnk_file read; allow hal_dumpstate_default touch_context_service:service_manager find; -binder_call(hal_dumpstate_default, twoshay) # Modem logs allow hal_dumpstate_default modem_efs_file:dir search; diff --git a/legacy/platform_app.te b/legacy/platform_app.te index 14cf0554..d8fde3a3 100644 --- a/legacy/platform_app.te +++ b/legacy/platform_app.te @@ -11,7 +11,6 @@ allow platform_app fwk_stats_service:service_manager find; binder_use(platform_app) allow platform_app touch_context_service:service_manager find; -binder_call(platform_app, twoshay) # Fingerprint (UDFPS) GHBM/LHBM toggle get_prop(platform_app, fingerprint_ghbm_prop) diff --git a/legacy/twoshay.te b/legacy/twoshay.te deleted file mode 100644 index ad239702..00000000 --- a/legacy/twoshay.te +++ /dev/null @@ -1,10 +0,0 @@ -type twoshay, domain; -type twoshay_exec, exec_type, vendor_file_type, file_type; - -init_daemon_domain(twoshay) - -allow twoshay touch_offload_device:chr_file rw_file_perms; -allow twoshay twoshay:capability sys_nice; - -binder_use(twoshay) -add_service(twoshay, touch_context_service)