summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-02-14 14:14:24 +0800
committerdianlujitao <dianlujitao@lineageos.org>2019-06-15 22:01:15 +0800
commitcd8e8d284b066792df3dec32775a7f45a5646667 (patch)
treee3848be6d553e4455f051d763e1886adc9bb05ea /common
parent627e6346849105b58a37efdfd97356141c8a2743 (diff)
downloadandroid_device_lineage_sepolicy-cd8e8d284b066792df3dec32775a7f45a5646667.tar.gz
android_device_lineage_sepolicy-cd8e8d284b066792df3dec32775a7f45a5646667.tar.bz2
android_device_lineage_sepolicy-cd8e8d284b066792df3dec32775a7f45a5646667.zip
sepolicy: Move touch hal policy to dynamic
Change-Id: I7beb51197b6049133b4385ef344e21fbf2de1ea0
Diffstat (limited to 'common')
-rw-r--r--common/dynamic/hal_lineage_touch.te (renamed from common/public/hal_lineage_touch.te)0
-rw-r--r--common/dynamic/hwservice.te1
-rw-r--r--common/dynamic/hwservice_contexts4
-rw-r--r--common/private/hwservice_contexts4
-rw-r--r--common/public/hwservice.te1
5 files changed, 5 insertions, 5 deletions
diff --git a/common/public/hal_lineage_touch.te b/common/dynamic/hal_lineage_touch.te
index 0cc8082..0cc8082 100644
--- a/common/public/hal_lineage_touch.te
+++ b/common/dynamic/hal_lineage_touch.te
diff --git a/common/dynamic/hwservice.te b/common/dynamic/hwservice.te
index e5b0751..62a4f87 100644
--- a/common/dynamic/hwservice.te
+++ b/common/dynamic/hwservice.te
@@ -1,2 +1,3 @@
type hal_lineage_livedisplay_hwservice, hwservice_manager_type;
+type hal_lineage_touch_hwservice, hwservice_manager_type;
type hal_lineage_trust_hwservice, hwservice_manager_type;
diff --git a/common/dynamic/hwservice_contexts b/common/dynamic/hwservice_contexts
index 04e639f..d5e1984 100644
--- a/common/dynamic/hwservice_contexts
+++ b/common/dynamic/hwservice_contexts
@@ -7,4 +7,8 @@ vendor.lineage.livedisplay::IDisplayModes u:object_r:hal_lineage_live
vendor.lineage.livedisplay::IPictureAdjustment u:object_r:hal_lineage_livedisplay_hwservice:s0
vendor.lineage.livedisplay::IReadingEnhancement u:object_r:hal_lineage_livedisplay_hwservice:s0
vendor.lineage.livedisplay::ISunlightEnhancement u:object_r:hal_lineage_livedisplay_hwservice:s0
+vendor.lineage.touch::IGloveMode u:object_r:hal_lineage_touch_hwservice:s0
+vendor.lineage.touch::IKeyDisabler u:object_r:hal_lineage_touch_hwservice:s0
+vendor.lineage.touch::IStylusMode u:object_r:hal_lineage_touch_hwservice:s0
+vendor.lineage.touch::ITouchscreenGesture u:object_r:hal_lineage_touch_hwservice:s0
vendor.lineage.trust::IUsbRestrict u:object_r:hal_lineage_trust_hwservice:s0
diff --git a/common/private/hwservice_contexts b/common/private/hwservice_contexts
index b79ed80..82766ae 100644
--- a/common/private/hwservice_contexts
+++ b/common/private/hwservice_contexts
@@ -1,5 +1 @@
vendor.lineage.power::ILineagePower u:object_r:hal_power_hwservice:s0
-vendor.lineage.touch::IGloveMode u:object_r:hal_lineage_touch_hwservice:s0
-vendor.lineage.touch::IKeyDisabler u:object_r:hal_lineage_touch_hwservice:s0
-vendor.lineage.touch::IStylusMode u:object_r:hal_lineage_touch_hwservice:s0
-vendor.lineage.touch::ITouchscreenGesture u:object_r:hal_lineage_touch_hwservice:s0
diff --git a/common/public/hwservice.te b/common/public/hwservice.te
deleted file mode 100644
index afee012..0000000
--- a/common/public/hwservice.te
+++ /dev/null
@@ -1 +0,0 @@
-type hal_lineage_touch_hwservice, hwservice_manager_type;