diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index 33d87dd..88f151e 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -1 +1,6 @@ persist.vendor.parts.pen u:object_r:vendor_pen_prop:s0 + +# Display +debug.sf.ignore_hwc_physical_display_orientation u:object_r:surfaceflinger_prop:s0 exact bool +ro.bootanim.set_orientation_4630946808805831297 u:object_r:surfaceflinger_prop:s0 exact enum ORIENTATION_0 ORIENTATION_90 ORIENTATION_180 ORIENTATION_270 +ro.bootanim.set_orientation_4630946922172900481 u:object_r:surfaceflinger_prop:s0 exact enum ORIENTATION_0 ORIENTATION_90 ORIENTATION_180 ORIENTATION_270 diff --git a/vendor.prop b/vendor.prop index 26712ab..0a63eb6 100644 --- a/vendor.prop +++ b/vendor.prop @@ -44,5 +44,11 @@ ro.surface_flinger.use_content_detection_for_refresh_rate=true ro.surface_flinger.set_idle_timer_ms=1100 ro.surface_flinger.set_touch_timer_ms=200 +# Display Orientation +ro.surface_flinger.primary_display_orientation=ORIENTATION_0 +debug.sf.ignore_hwc_physical_display_orientation=true +ro.bootanim.set_orientation_4630946808805831297=ORIENTATION_90 +ro.bootanim.set_orientation_4630946922172900481=ORIENTATION_90 + # Sensors persist.vendor.sensors.debug.hal=0