aboutsummaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2015-01-31 20:03:53 +0530
committerChirayu Desai <chirayudesai1@gmail.com>2015-01-31 20:03:53 +0530
commit606f06dd4fa476e92856e0f941fee1cf19ede215 (patch)
tree60113625b3d0190da3db24b2d99258ee1f239f71 /sepolicy
parent730ead49cc47181331eda20dd0d9358dca65abb5 (diff)
Remove CMHW CABC control
Change-Id: I42971cd8dc77655c066aabfb198b7eac033cd484
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file.te1
-rw-r--r--sepolicy/file_contexts4
-rw-r--r--sepolicy/system_app.te2
3 files changed, 1 insertions, 6 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te
index a05ee0d..1fbdf98 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -1,2 +1 @@
-type sysfs_display, fs_type, sysfs_type;
type sysfs_vibrator, fs_type, sysfs_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index d66e61a..d66cb3f 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -4,9 +4,5 @@
# Audio
/dev/tfa98xx u:object_r:audio_device:s0
-# Hardware tunables
-/sys/devices/mdss_dsi_panel/cabc -- u:object_r:sysfs_display:s0
-/sys/devices/virtual/timed_output/vibrator/vtg_level -- u:object_r:sysfs_vibrator:s0
-
# Modem
/system/bin/mlog_qmi_service u:object_r:mlog_qmi_exec:s0
diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te
index 20fc2aa..c420b1f 100644
--- a/sepolicy/system_app.te
+++ b/sepolicy/system_app.te
@@ -1 +1 @@
-allow system_app { sysfs_display sysfs_vibrator }:file rw_file_perms;
+allow system_app sysfs_vibrator:file rw_file_perms;