diff options
| author | AdarshGrewal <adarshgrewal@gmail.com> | 2022-03-09 17:49:30 -0300 | 
|---|---|---|
| committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:30:23 +0530 | 
| commit | 123a2668b78fa946a0b4e55317fa11f3170e8749 (patch) | |
| tree | a94a19c90560cbb73c208053434120e26eb35957 /rro_overlays | |
| parent | 4cf16bbd170fe1c837cc8eea5cda7c11bceebf21 (diff) | |
veux: overlay: Enable front-facing camera protection
* Prevents halo ring/effect on front camera
Diffstat (limited to 'rro_overlays')
| -rw-r--r-- | rro_overlays/SystemUIOverlayVeux/res/values/config.xml | 17 | 
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> | 
