From 2c0fcd40b396b6b0f6f318ff4546eaa43642e639 Mon Sep 17 00:00:00 2001 From: Fabian Leutenegger Date: Fri, 11 Aug 2023 09:22:06 +0200 Subject: [PATCH] pipa: Set bootanimation rotation and allow default orientation rotation Change-Id: I8cf3cbea45ef36e54c7628c5a7a20de3e99cde54 --- sepolicy/vendor/property_contexts | 5 +++++ vendor.prop | 6 ++++++ 2 files changed, 11 insertions(+) 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