mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: overlay: Enable front-facing camera protection
* Prevents halo ring/effect on front camera Change-Id: Idc5134655f4434dc7505a208a43e381eb22604f0 Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
0a4ea0743d
commit
07e6c17d48
1 changed files with 16 additions and 0 deletions
|
|
@ -83,6 +83,22 @@
|
|||
<!-- If this is true, device supports Sustained Performance Mode. -->
|
||||
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
||||
|
||||
<!-- 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>
|
||||
|
||||
<!-- Whether WiFi display is supported by this device.
|
||||
There are many prerequisites for this feature to work correctly.
|
||||
Here are a few of them:
|
||||
|
|
|
|||
Loading…
Reference in a new issue