sepolicy_vndr: Add rules for hal_vibrator_default
Allow vibrator hal with default permissions to read value
of qc_aon_presence property.
Change-Id: I257ec8371754f8911af1874bb6e08bdd1c4b385b
diff --git a/generic/vendor/common/hal_vibrator_default.te b/generic/vendor/common/hal_vibrator_default.te
index 41de4ab..b58c450 100644
--- a/generic/vendor/common/hal_vibrator_default.te
+++ b/generic/vendor/common/hal_vibrator_default.te
@@ -68,3 +68,6 @@
# read/write permissions to haptics sysfs node
r_dir_file(hal_vibrator_default, vendor_sysfs_haptics)
allow hal_vibrator_default vendor_sysfs_haptics:file rw_file_perms;
+
+# default permissions for qc_aon_node
+get_prop(hal_vibrator_default, vendor_qc_aon_prop)
diff --git a/qva/vendor/kona/hal_vibrator_default.te b/qva/vendor/kona/hal_vibrator_default.te
deleted file mode 100644
index 63bf8e1..0000000
--- a/qva/vendor/kona/hal_vibrator_default.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
-# SPDX-License-Identifier: BSD-3-Clause-Clear
-
-#hal_vibrator_default permission
-get_prop(hal_vibrator_default, vendor_qc_aon_prop)
diff --git a/qva/vendor/trinket/hal_vibrator_default.te b/qva/vendor/trinket/hal_vibrator_default.te
deleted file mode 100644
index 63bf8e1..0000000
--- a/qva/vendor/trinket/hal_vibrator_default.te
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
-# SPDX-License-Identifier: BSD-3-Clause-Clear
-
-#hal_vibrator_default permission
-get_prop(hal_vibrator_default, vendor_qc_aon_prop)