From 8669f52f79e41d7af39e8d3a21f09fefb88cf776 Mon Sep 17 00:00:00 2001 From: Inseob Kim Date: Wed, 13 Mar 2019 04:21:37 +0900 Subject: [PATCH] Fix surface flinger property types Third parameter of a property_context entry should be "exact" if the entry is for a single property, not a prefix. And the type of each entry should be the fourth parameter. Bug: 112386364 Test: m -j Change-Id: I2ed31c9fd7c7424e3a6a51d44b4e85413ae316b7 --- public/property_contexts | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/public/property_contexts b/public/property_contexts index f56bf53fb..258994144 100644 --- a/public/property_contexts +++ b/public/property_contexts @@ -353,25 +353,25 @@ ro.build.type u:object_r:exported2_default_prop:s0 exact string sys.shutdown.requested u:object_r:exported_system_prop:s0 exact string # Using Sysprop as API. So the ro.surface_flinger.* are guaranteed to be API-stable -ro.surface_flinger.default_composition_dataspace u:object_r:exported_default_prop:s0 int -ro.surface_flinger.default_composition_pixel_format u:object_r:exported_default_prop:s0 int -ro.surface_flinger.force_hwc_copy_for_virtual_displays u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.has_HDR_display u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.has_wide_color_display u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.max_frame_buffer_acquired_buffers u:object_r:exported_default_prop:s0 int -ro.surface_flinger.max_virtual_display_dimension u:object_r:exported_default_prop:s0 int -ro.surface_flinger.primary_display_orientation u:object_r:exported_default_prop:s0 string -ro.surface_flinger.present_time_offset_from_vsync_ns u:object_r:exported_default_prop:s0 int -ro.surface_flinger.running_without_sync_framework u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.start_graphics_allocator_service u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.use_color_management u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.use_context_priority u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.use_vr_flinger u:object_r:exported_default_prop:s0 bool -ro.surface_flinger.vsync_event_phase_offset_ns u:object_r:exported_default_prop:s0 int -ro.surface_flinger.vsync_sf_event_phase_offset_ns u:object_r:exported_default_prop:s0 int -ro.surface_flinger.wcg_composition_dataspace u:object_r:exported_default_prop:s0 int -ro.surface_flinger.wcg_composition_pixel_format u:object_r:exported_default_prop:s0 int -ro.surface_flinger.display_primary_red u:object_r:exported_default_prop:s0 string -ro.surface_flinger.display_primary_green u:object_r:exported_default_prop:s0 string -ro.surface_flinger.display_primary_blue u:object_r:exported_default_prop:s0 string -ro.surface_flinger.display_primary_white u:object_r:exported_default_prop:s0 string +ro.surface_flinger.default_composition_dataspace u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.default_composition_pixel_format u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.force_hwc_copy_for_virtual_displays u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.has_HDR_display u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.has_wide_color_display u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.max_frame_buffer_acquired_buffers u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.max_virtual_display_dimension u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.primary_display_orientation u:object_r:exported_default_prop:s0 exact string +ro.surface_flinger.present_time_offset_from_vsync_ns u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.running_without_sync_framework u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.start_graphics_allocator_service u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.use_color_management u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.use_context_priority u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.use_vr_flinger u:object_r:exported_default_prop:s0 exact bool +ro.surface_flinger.vsync_event_phase_offset_ns u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.vsync_sf_event_phase_offset_ns u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.wcg_composition_dataspace u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.wcg_composition_pixel_format u:object_r:exported_default_prop:s0 exact int +ro.surface_flinger.display_primary_red u:object_r:exported_default_prop:s0 exact string +ro.surface_flinger.display_primary_green u:object_r:exported_default_prop:s0 exact string +ro.surface_flinger.display_primary_blue u:object_r:exported_default_prop:s0 exact string +ro.surface_flinger.display_primary_white u:object_r:exported_default_prop:s0 exact string