Przeglądaj źródła

Snap for 9451931 from 13f814b058c027372ae5db36b22d271da6f89b6a to udc-release

Change-Id: Ic202edde0497709e6bceec178b7a13438ab782b4
Android Build Coastguard Worker 2 lat temu
rodzic
commit
3021977e13

+ 1 - 0
bluetooth/qti_default.mk

@@ -56,6 +56,7 @@ TARGET_USE_QTI_BT_IBS = false
 TARGET_USE_QTI_BT_OBS = true
 TARGET_USE_QTI_BT_SAR_V1_1 = true
 TARGET_USE_QTI_BT_CHANNEL_AVOIDANCE = true
+TARGET_DROP_BYTES_BEFORE_SSR_DUMP = true
 
 # IBluetoothHci @1.1 / @1.0
 ifeq ($(TARGET_BLUETOOTH_HCI_V1_1),true)

+ 14 - 0
lynx/overlay/frameworks/base/core/res/res/values/config.xml

@@ -84,6 +84,20 @@
     <!-- Default refresh rate while the device has high brightness mode enabled for HDR. -->
     <integer name="config_defaultRefreshRateInHbmHdr">60</integer>
 
+    <!-- Switch to fixed refresh rate when display brightness setting is
+         equal or more than this value -->
+    <integer-array name="config_highDisplayBrightnessThresholdsOfFixedRefreshRate">
+        <!-- System brightness for 500 nits: round((500-2)/(1000-2)*(255-1)+1) = 128 -->
+        <item>128</item> <!--100% UI normal brightness -->
+    </integer-array>
+
+    <integer-array name="config_highAmbientBrightnessThresholdsOfFixedRefreshRate">
+        <item>50000</item>
+    </integer-array>
+
+    <!-- default refresh rate in the high zone defined by brightness and ambient thresholds -->
+    <integer name="config_fixedRefreshRateInHighZone">60</integer>
+
     <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
       The N entries of this array define N  1 zones as follows:
          Zone 0:        0 <= LUX < array[0]