diff options
author | Ramakant Singh <ramaka@codeaurora.org> | 2016-01-14 14:13:11 +0530 |
---|---|---|
committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-05-29 16:46:56 +0100 |
commit | fed995e1792e87da2bc8490144affcd8ab3a7048 (patch) | |
tree | 9dbf07c85770b3d8a44ba3ddb9793fd3e071afb2 | |
parent | d42ae50057dfd4c00296b4e1cafd5ce13699eeb5 (diff) | |
download | android_device_qcom_sepolicy-fed995e1792e87da2bc8490144affcd8ab3a7048.tar.gz android_device_qcom_sepolicy-fed995e1792e87da2bc8490144affcd8ab3a7048.tar.bz2 android_device_qcom_sepolicy-fed995e1792e87da2bc8490144affcd8ab3a7048.zip |
sepolicy : Add new properties for ubwc support
Adding new properties to enable the ubwc support based
on hardware capability.
Change-Id: Ie0e406360f5a9ceb0a6daaa4d1f7755ce8168fb4
-rw-r--r-- | common/init_shell.te | 1 | ||||
-rw-r--r-- | common/property.te | 3 | ||||
-rw-r--r-- | common/property_contexts | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/common/init_shell.te b/common/init_shell.te index 36e18462..ab2aa9fb 100644 --- a/common/init_shell.te +++ b/common/init_shell.te @@ -80,6 +80,7 @@ allow qti_init_shell { qemu_hw_mainkeys_prop alarm_boot_prop boot_animation_prop + debug_gralloc_prop # Needed for starting console in userdebug mode userdebug_or_eng(`ctl_console_prop coresight_prop') rmnet_mux_prop diff --git a/common/property.te b/common/property.te index 996c61e6..c1a5967c 100644 --- a/common/property.te +++ b/common/property.te @@ -22,6 +22,9 @@ type opengles_prop, property_type; type mdm_helper_prop, property_type; type mpdecision_prop, property_type; +#Needed for ubwc support +type debug_gralloc_prop, property_type; + type fm_prop, property_type; type chgdiabled_prop, property_type; diff --git a/common/property_contexts b/common/property_contexts index f3e41fa5..537e100e 100644 --- a/common/property_contexts +++ b/common/property_contexts @@ -41,3 +41,4 @@ sys.audio.init u:object_r:audio_prop:s0 alarm_boot u:object_r:alarm_boot_prop:s0 debug.sf.nobootanimation u:object_r:boot_animation_prop:s0 radio.noril u:object_r:radio_noril_prop:s0 +debug.gralloc. u:object_r:debug_gralloc_prop:s0 |