summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTai Kuo <taikuo@google.com>2023-02-16 18:44:24 +0800
committerTai Kuo <taikuo@google.com>2023-02-16 22:11:32 +0800
commit02be088bc56db96b395b177935ebed3509fbb650 (patch)
tree81d3891693718ca0f044bcaac66367c5669d8798
parentcc2eda58a152d7460c506ddcfcfb8e7bf80726a1 (diff)
downloadlynx-sepolicy-02be088bc56db96b395b177935ebed3509fbb650.tar.gz
Revert "device-sepolicy: Add sepolicy for vibrator hal"
This reverts commit b5eec482fddc6f16ce368ad868ab87d83f30439d. Bug: 198239103 Test: build pass on git_tm-qpr-dev-plus-aosp Change-Id: Iee9305e6ba5abbc8df9b353ed5bbfeaa64f0b43b
-rw-r--r--vendor/file_contexts3
-rw-r--r--vendor/hal_vibrator_default.te3
-rw-r--r--vendor/property_contexts2
-rw-r--r--vendor/vendor_init.te3
4 files changed, 0 insertions, 11 deletions
diff --git a/vendor/file_contexts b/vendor/file_contexts
index c224e48..bc7e2fc 100644
--- a/vendor/file_contexts
+++ b/vendor/file_contexts
@@ -16,6 +16,3 @@
/vendor/bin/loc_launcher u:object_r:vendor_location_exec:s0
/vendor/bin/lowi-server u:object_r:lowi_server_exec:s0
/vendor/bin/cnss-daemon u:object_r:cnss-daemon_exec:s0
-
-# Haptics
-/vendor/bin/hw/android\.hardware\.vibrator-service\.cs40l26-private-lynx u:object_r:hal_vibrator_default_exec:s0 \ No newline at end of file
diff --git a/vendor/hal_vibrator_default.te b/vendor/hal_vibrator_default.te
deleted file mode 100644
index b5c7202..0000000
--- a/vendor/hal_vibrator_default.te
+++ /dev/null
@@ -1,3 +0,0 @@
-# Allow Vibrator HAL to communicate with daemon via socket
-allow hal_vibrator_default chre:unix_stream_socket connectto;
-allow hal_vibrator_default chre_socket:sock_file write; \ No newline at end of file
diff --git a/vendor/property_contexts b/vendor/property_contexts
deleted file mode 100644
index 75cbb36..0000000
--- a/vendor/property_contexts
+++ /dev/null
@@ -1,2 +0,0 @@
-# Haptics
-persist.vendor.vibrator.hal. u:object_r:vendor_vibrator_prop:s0
diff --git a/vendor/vendor_init.te b/vendor/vendor_init.te
index 440c30c..cc2e3ad 100644
--- a/vendor/vendor_init.te
+++ b/vendor/vendor_init.te
@@ -1,5 +1,2 @@
# Camera
set_prop(vendor_init, vendor_camera_prop)
-
-# Haptics
-get_prop(vendor_init, adaptive_haptics_prop)