milanf: Selectively update overlays from stock

Change-Id: I0e2a18ccfd732342210985e42f39f4d5c90f3234
Signed-off-by: AnierinB <anierin@evolution-x.org>
This commit is contained in:
AnierinB 2025-08-12 13:10:25 -07:00
parent f8e853b4af
commit 3f1f503f55
4 changed files with 70 additions and 73 deletions

View file

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- A path similar to frameworks/base/core/res/res/values/config.xml
config_mainBuiltInDisplayCutout that describes a path larger than the exact path of a outer
display cutout. If present as well as config_enableDisplayCutoutProtection is set to true,
then SystemUI will draw this "protection path" instead of the display cutout path that is
normally used for anti-aliasing.
This path will only be drawn when the front-facing camera turns on, otherwise the main
DisplayCutout path will be rendered
-->
<string name="config_frontBuiltInDisplayCutoutProtection" translatable="false">
M 661,72
a 57,57 0 1 0 114,0
a 57,57 0 1 0 -114,0
Z
</string>
<!-- ID for the camera of outer display that needs extra protection -->
<string name="config_protectedCameraId" translatable="false">1</string>
<!-- Flag to turn on the rendering of the above path or not -->
<bool name="config_enableDisplayCutoutProtection">true</bool>
</resources>

View file

@ -27,9 +27,9 @@
display fingerprint sensors, this directly corresponds to the fingerprint sensor's location.
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_y">810px</dimen>
<dimen name="physical_fingerprint_sensor_center_screen_location_y">620px</dimen>
<!-- Location on the screen of the center of the physical power button. This is a reasonable
default that should be overridden by device-specific overlays. -->
<dimen name="physical_power_button_center_screen_location_y">810px</dimen>
<dimen name="physical_power_button_center_screen_location_y">620px</dimen>
</resources>