RM6785: overlay: Add cutout approximation
Change-Id: If957ff72255f23a7d43137ec1b17d10ce51534c4
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 910f38c..80be435 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -97,6 +97,14 @@
-->
<string name="config_mainBuiltInDisplayCutout">M -544,0 L -544,115 L -382,115 L -382,0 Z</string>
+ <!-- Like config_mainBuiltInDisplayCutout, but this path is used to report the
+ one single bounding rect per device edge to the app via
+ {@link DisplayCutout#getBoundingRect}. Note that this path should try to match the visual
+ appearance of the cutout as much as possible, and may be smaller than
+ config_mainBuiltInDisplayCutout
+ -->
+ <string name="config_mainBuiltInDisplayCutoutRectApproximation">M 0,0 H 164 V 118 H 0 Z @left</string>
+
<!-- Define Google play service package for FRP-->
<string name="config_persistentDataPackageName">com.google.android.gms</string>