lynx: Add HbmSVManager RRO overlay

* Based on redfin

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
This commit is contained in:
Michael Bestas 2022-05-18 00:03:07 +05:30 committed by Blaster4385
parent 85696e993e
commit e0b7597a81
10 changed files with 70 additions and 1 deletions

View file

@ -17,3 +17,7 @@
# HBM # HBM
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
device/google/lynx/permissions/permissions_com.android.hbmsvmanager.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/permissions_com.android.hbmsvmanager.xml device/google/lynx/permissions/permissions_com.android.hbmsvmanager.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/permissions_com.android.hbmsvmanager.xml
# Overlays
PRODUCT_PACKAGES += \
HbmSVManagerOverlayLynx

View file

@ -0,0 +1,8 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
runtime_resource_overlay {
name: "HbmSVManagerOverlayLynx",
vendor: true
}

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.hbmsvmanager.overlay">
<overlay
android:isStatic="true"
android:priority="0"
android:targetPackage="com.android.hbmsvmanager" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, The Android Open Source Project
**
** 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.
*/
-->
<resources>
<string-array name="config_calibrated_compensation_images">
<item>SCI_0_cal0.png</item>
<item>SCI_1_cal0.png</item>
<item>SCI_2_cal0.png</item>
<item>SCI_3_cal0.png</item>
<item>SCI_4_cal0.png</item>
<item>SCI_5_cal0.png</item>
</string-array>
<array name="config_compensation_images">
<item>@drawable/SCI_0_cal0</item>
<item>@drawable/SCI_1_cal0</item>
<item>@drawable/SCI_2_cal0</item>
<item>@drawable/SCI_3_cal0</item>
<item>@drawable/SCI_4_cal0</item>
<item>@drawable/SCI_5_cal0</item>
</array>
<integer name="config_compensation_filter_horizon">1500</integer>
<dimen name="config_compensation_filter_intercept">10.0</dimen>
<dimen name="config_compensation_lux_enter_threshold">7000.0</dimen>
<array name="config_compensation_thresholds">
<item>7000.0</item>
<item>10000.0</item>
<item>35000.0</item>
<item>50000.0</item>
<item>80000.0</item>
<item>100000.0</item>
</array>
</resources>