aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rro_overlays/SystemUIOverlayVeux/res/values/config.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
index ee9c99f..221511c 100644
--- a/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
+++ b/rro_overlays/SystemUIOverlayVeux/res/values/config.xml
@@ -37,4 +37,21 @@
<!-- If not zero, limits the internal screen recorder's framerate to the set value. -->
<integer name="config_screenRecorderMaxFramerate">60</integer>
+
+ <!-- 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 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 translatable="false" name="config_frontBuiltInDisplayCutoutProtection">M 500 52 a 37 37 0 1 0 82 0 a 37 37 0 1 0 -82 0 Z</string>
+
+ <!-- ID for the camera that needs extra protection -->
+ <string translatable="false" name="config_protectedCameraId">1</string>
+
+ <!-- Flag to turn on the rendering of the above path or not -->
+ <bool name="config_enableDisplayCutoutProtection">true</bool>
+
</resources>