Revert "Revert "sdm660-common: Add display config file""

This reverts commit d1f590b76c.
This commit is contained in:
pix106 2022-08-21 17:59:58 +02:00
parent bb671d5144
commit 3d6eaf7c46
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,33 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!-- Copyright (C) 2020 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<displayConfiguration>
<screenBrightnessRampFastDecrease>0.5</screenBrightnessRampFastDecrease>
<screenBrightnessRampFastIncrease>0.5</screenBrightnessRampFastIncrease>
<screenBrightnessRampSlowDecrease>0.04</screenBrightnessRampSlowDecrease>
<screenBrightnessRampSlowIncrease>0.05</screenBrightnessRampSlowIncrease>
<screenBrightnessMap>
<point>
<value>0.0</value>
<nits>1.0</nits>
</point>
<point>
<value>1.0</value>
<nits>420.0</nits>
</point>
</screenBrightnessMap>
</displayConfiguration>

View file

@ -199,6 +199,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
DeviceDoze
# Display Device Config
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/displayconfig/display_id_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_0.xml
# DRM
PRODUCT_PACKAGES += \
android.hardware.drm@1.4-service.clearkey \