Add display config file for sunfish

Bug: no
Test: manual - check dumpsys display for DisplayDeviceConfig
Change-Id: I831eec84340cf381485dbd67466648b82b6b1f33
This commit is contained in:
Fiona Campbell
2020-12-15 15:21:07 +00:00
parent 2d8faef9db
commit ecac2bdc7f
2 changed files with 33 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ include device/google/sunfish/device-common.mk
DEVICE_PACKAGE_OVERLAYS += device/google/sunfish/sunfish/overlay
# Display Device Config
PRODUCT_COPY_FILES += \
device/google/sunfish/displayconfig/display_id_4630946475097398401.xml:$(TARGET_COPY_OUT_VENDOR)/etc/displayconfig/display_id_4630946475097398401.xml
# Audio XMLs for sunfish
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \

View File

@@ -0,0 +1,29 @@
<?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>
<screenBrightnessMap>
<point>
<value>0.0</value>
<nits>2.0</nits>
</point>
<point>
<value>1.0</value>
<nits>450.0</nits>
</point>
</screenBrightnessMap>
</displayConfiguration>