From 2cc8aba598c7cdaa3b77e7d504c4a229a3234f70 Mon Sep 17 00:00:00 2001 From: Ruchit Date: Tue, 19 Sep 2023 19:43:56 +0530 Subject: [PATCH] sm7125: overlay: Set some display overlays and props --- .../base/core/res/res/values/config.xml | 61 +++++++++++++++++-- .../packages/SystemUI/res/values/config.xml | 3 + .../apps/Settings/res/values/config.xml | 3 + vendor.prop | 3 + 4 files changed, 64 insertions(+), 6 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index fe63dc2..850d528 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1191,12 +1191,6 @@ The user is forbidden from setting the brightness above this level. --> 1.0 - - 90 - true @@ -1245,6 +1239,23 @@ true + true + + + 70 + + + -15 + + + 15 + + + -40 + + + 40 true @@ -1355,4 +1366,42 @@ 500 600 + + + 0 + 60 + 90 + 0 + 90 + + + true + + + true diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml index fd30526..57a4195 100644 --- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -33,4 +33,7 @@ 60 + + + 60 diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml index 80d8372..eee669b 100644 --- a/overlay/packages/apps/Settings/res/values/config.xml +++ b/overlay/packages/apps/Settings/res/values/config.xml @@ -34,4 +34,7 @@ should be either LOW (1) or HIGH (3). --> 3 + + + true diff --git a/vendor.prop b/vendor.prop index 0d8c3b7..a0193b9 100644 --- a/vendor.prop +++ b/vendor.prop @@ -180,6 +180,9 @@ ro.surface_flinger.force_hwc_copy_for_virtual_displays=true ro.surface_flinger.max_virtual_display_dimension=4096 ro.surface_flinger.max_frame_buffer_acquired_buffers=3 ro.surface_flinger.use_content_detection_for_refresh_rate=false +ro.surface_flinger.set_touch_timer_ms=500 +ro.surface_flinger.set_idle_timer_ms=3000 +ro.surface_flinger.set_display_power_timer_ms=1000 ro.hardware.vulkan=adreno ro.hardware.egl=adreno ro.opengles.version=196610