From 4eb911b64f5b67e5d486dc827830033049bd86f3 Mon Sep 17 00:00:00 2001 From: AdarshGrewal Date: Sat, 14 Aug 2021 22:41:16 +0530 Subject: [PATCH] cupid: overlay: Redo cutout overlays Xiaomi for some reason uses mainBuiltInDisplayCutoutRectApproximation as mainBuiltInDisplayCutout. Let's create a new mainBuiltInDisplayCutout, make it a circle and fill it to avoid aliasing in the cutout area. Change-Id: I9b822cdb79f72daaa0a334bfbee98ad255dfd04d Signed-off-by: Jens Reidel --- overlay/Frameworks/res/values/config.xml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/overlay/Frameworks/res/values/config.xml b/overlay/Frameworks/res/values/config.xml index 6535bdd..b4b9ed7 100644 --- a/overlay/Frameworks/res/values/config.xml +++ b/overlay/Frameworks/res/values/config.xml @@ -28,7 +28,20 @@ @see https://www.w3.org/TR/SVG/paths.html#PathData --> - M 0,0 H -33 V 87 H 33 V 0 H 0 Z + M -33 52 a 33 33 0 1 0 66 0 a 33 33 0 1 0 -66 0 Z + + + M 0,0 H -33 V 87 H 33 V 0 H 0 Z + + + true 0