2024-11-08 12:39:39 -05:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<!--
|
2025-03-03 09:18:20 -05:00
|
|
|
SPDX-FileCopyrightText: The LineageOS Project
|
2024-11-08 12:39:39 -05:00
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
-->
|
2025-02-26 02:09:27 -05:00
|
|
|
<resources>
|
2024-11-08 12:39:39 -05:00
|
|
|
<!-- A path similar to frameworks/base/core/res/res/values/config.xml
|
2025-02-26 02:09:27 -05:00
|
|
|
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.
|
2024-11-08 12:39:39 -05:00
|
|
|
|
|
|
|
|
This path will only be drawn when the front-facing camera turns on, otherwise the main
|
|
|
|
|
DisplayCutout path will be rendered
|
|
|
|
|
-->
|
2025-02-26 02:09:27 -05:00
|
|
|
<string name="config_frontBuiltInDisplayCutoutProtection" translatable="false">
|
2024-11-08 12:39:39 -05:00
|
|
|
M 498.5,65
|
|
|
|
|
a 41.5,41.5 0 1 0 83,0
|
|
|
|
|
a 41.5,41.5 0 1 0 -83,0
|
|
|
|
|
Z
|
|
|
|
|
</string>
|
|
|
|
|
|
2025-02-26 02:09:27 -05:00
|
|
|
<!-- ID for the camera of outer display that needs extra protection -->
|
|
|
|
|
<string name="config_protectedCameraId" translatable="false">1</string>
|
2024-11-08 12:39:39 -05:00
|
|
|
|
|
|
|
|
<!-- Flag to turn on the rendering of the above path or not -->
|
|
|
|
|
<bool name="config_enableDisplayCutoutProtection">true</bool>
|
|
|
|
|
</resources>
|