From 18aaaad937f61bcd63b37409b0aca0e98e0bfd49 Mon Sep 17 00:00:00 2001 From: Jaekyun Seok <jaekyun@google.com> Date: Mon, 30 Apr 2018 08:49:57 +0900 Subject: [PATCH] Allow vendor-init-settable for properties used in Android TV The following properties will be whitelisted. - ro.hdmi.device_type, ro.hdmi.wake_on_hotplug and persist.sys.hdmi.keep_awake for hdmi - ro.sf.disable_triple_buffer for SurfaceFlinger - media.stagefright.cache-params and persist.sys.media.avsync for nuplayer Bug: 78205669 Bug: 78430613 Test: succeeded building Change-Id: I5ee1a1de72c265bca87aa041c6acd9554f5f8c07 --- public/property_contexts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/property_contexts b/public/property_contexts index 3f029bcec..53c786f0f 100644 --- a/public/property_contexts +++ b/public/property_contexts @@ -61,6 +61,7 @@ dalvik.vm.zygote.max-boot-retry u:object_r:exported_dalvik_prop:s0 exact int drm.service.enabled u:object_r:exported3_default_prop:s0 exact bool keyguard.no_require_sim u:object_r:exported3_default_prop:s0 exact bool media.recorder.show_manufacturer_and_model u:object_r:exported3_default_prop:s0 exact bool +media.stagefright.cache-params u:object_r:exported3_default_prop:s0 exact string persist.bluetooth.a2dp_offload.cap u:object_r:bluetooth_a2dp_offload_prop:s0 exact string persist.bluetooth.a2dp_offload.disabled u:object_r:bluetooth_a2dp_offload_prop:s0 exact bool persist.config.calibration_fac u:object_r:exported3_default_prop:s0 exact string @@ -69,6 +70,8 @@ persist.dbg.vt_avail_ovr u:object_r:exported3_default_prop:s0 exact int persist.dbg.wfc_avail_ovr u:object_r:exported3_default_prop:s0 exact int persist.radio.multisim.config u:object_r:exported3_radio_prop:s0 exact string persist.sys.dalvik.vm.lib.2 u:object_r:exported2_system_prop:s0 exact string +persist.sys.media.avsync u:object_r:exported2_system_prop:s0 exact bool +persist.sys.hdmi.keep_awake u:object_r:exported2_system_prop:s0 exact bool persist.sys.sf.color_saturation u:object_r:exported2_system_prop:s0 exact string persist.sys.sf.native_mode u:object_r:exported2_system_prop:s0 exact int pm.dexopt.ab-ota u:object_r:exported_pm_prop:s0 exact string @@ -95,10 +98,13 @@ ro.crypto.scrypt_params u:object_r:exported2_vold_prop:s0 exact string ro.dalvik.vm.native.bridge u:object_r:exported_dalvik_prop:s0 exact string ro.enable_boot_charger_mode u:object_r:exported3_default_prop:s0 exact bool ro.gfx.driver.0 u:object_r:exported3_default_prop:s0 exact string +ro.hdmi.device_type u:object_r:exported3_default_prop:s0 exact string +ro.hdmi.wake_on_hotplug u:object_r:exported3_default_prop:s0 exact bool ro.oem_unlock_supported u:object_r:exported3_default_prop:s0 exact int ro.opengles.version u:object_r:exported3_default_prop:s0 exact int ro.radio.noril u:object_r:exported3_default_prop:s0 exact string ro.retaildemo.video_path u:object_r:exported3_default_prop:s0 exact string +ro.sf.disable_triple_buffer u:object_r:exported3_default_prop:s0 exact bool ro.sf.lcd_density u:object_r:exported3_default_prop:s0 exact int ro.storage_manager.enabled u:object_r:exported3_default_prop:s0 exact bool ro.telephony.call_ring.multiple u:object_r:exported3_default_prop:s0 exact bool -- GitLab