28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<?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 503,63
|
|
a 37,37 0 1 0 74,0
|
|
a 37,37 0 1 0 -74,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>
|