From a3e65a067454b7641412c1774d46963720ee1f1c Mon Sep 17 00:00:00 2001 From: Tai Kuo Date: Mon, 21 Feb 2022 15:15:55 +0800 Subject: [PATCH] Remove CS40L26 common rules Bug: 220651401 Test: full build. Test: Check normal and audio-coupled haptics function Signed-off-by: Tai Kuo Change-Id: I4b87df352a066e50d1dd5e23b7b0cb06216fc78b --- bluejay/file_contexts | 3 --- bluejay/hal_vibrator_default.te | 7 ------- 2 files changed, 10 deletions(-) delete mode 100644 bluejay/file_contexts delete mode 100644 bluejay/hal_vibrator_default.te diff --git a/bluejay/file_contexts b/bluejay/file_contexts deleted file mode 100644 index 751c7d2..0000000 --- a/bluejay/file_contexts +++ /dev/null @@ -1,3 +0,0 @@ -# Haptics -/dev/snd/pcmC0D24p u:object_r:vibrator_snd_device:s0 -/dev/snd/pcmC1D24p u:object_r:vibrator_snd_device:s0 diff --git a/bluejay/hal_vibrator_default.te b/bluejay/hal_vibrator_default.te deleted file mode 100644 index b5db3f2..0000000 --- a/bluejay/hal_vibrator_default.te +++ /dev/null @@ -1,7 +0,0 @@ -# Haptics -allow hal_vibrator_default input_device:dir r_dir_perms; -allow hal_vibrator_default vibrator_snd_device:chr_file rw_file_perms; -allow hal_vibrator_default vibrator_snd_device:dir search; -allow hal_vibrator_default audio_device:dir search; -allow hal_vibrator_default proc_asound:dir search; -allow hal_vibrator_default proc_asound:file r_file_perms;