Skip to content
Snippets Groups Projects
Commit 5a664f4f authored by Bill Lin's avatar Bill Lin Committed by TreeHugger Robot
Browse files

Update C10/P10 SysUI overlay customization

1. [C10]Remove duplicate config_frontBuiltInDisplayCutoutProtection
2. [C10]Shift right config_frontBuiltInDisplayCutoutProtection position
3. [P10]Shift down config_frontBuiltInDisplayCutoutProtection position

Test: make and flash + enable rounded corner debug + launch front camera
Bug: 199469413
Bug: 203593020
Bug: 199468172
Change-Id: Iec8aaefe9ac649940d2364a95c12c75b69e34871
parent 0947bfb5
No related branches found
No related tags found
No related merge requests found
......@@ -24,13 +24,13 @@
<!-- Configure 13px of extra protection around the front-facing camera -->
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
M 661,72
M 662,72
a 57,57 0 1 0 114,0
a 57,57 0 1 0 -114,0
Z
</string>
<!-- Camera 1 is the front camera on barbet -->
<!-- Camera 1 is the front camera on C10 -->
<string translatable="false" name="config_protectedCameraId">1</string>
<!-- Comma-separated list of packages to exclude from camera protection. In our case,
......
......@@ -30,21 +30,6 @@
<!-- Margin on the right side of the system icon group on Keyguard. -->
<dimen name="system_icons_keyguard_padding_end">6.5dp</dimen>
<!-- 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 665,71
a 57,57 0 1 0 114,0 57,57 0 1 0 -114,0
Z
</string>
<!-- Camera 1 is the front camera -->
<string translatable="false" name="config_protectedCameraId">1</string>
......
......@@ -30,13 +30,13 @@
<!-- Configure 13px of extra protection around the front-facing camera -->
<string translatable="false" name="config_frontBuiltInDisplayCutoutProtection">
M 494,66
M 494,67
a 46,46 0 1 0 92,0
a 46,46 0 1 0 -92,0
Z
</string>
<!-- Camera 1 is the front camera on barbet -->
<!-- Camera 1 is the front camera on P10 -->
<string translatable="false" name="config_protectedCameraId">1</string>
<!-- Comma-separated list of packages to exclude from camera protection. In our case,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment