From 3a975310138ff06b68d3d837f8a4c768fdd77163 Mon Sep 17 00:00:00 2001 From: Hai Zhang Date: Tue, 3 Oct 2023 04:14:55 -0700 Subject: [PATCH] [Fix] Fix display cutout theming. Display cutout value shortEdges is actually potentially available on API 27, and display cutout value always is available on API 30. See also https://android-developers.googleblog.com/2018/07/supporting-display-cutouts-on-edge-to.html about the potential backport to API 27. --- app/src/main/res/values-v27/themes.xml | 6 ++++++ .../main/res/values-v27/themes_material3.xml | 6 ++++++ app/src/main/res/values-v28/themes.xml | 19 ------------------- .../main/res/values-v28/themes_material3.xml | 19 ------------------- app/src/main/res/values-v29/themes.xml | 4 ++-- .../main/res/values-v29/themes_material3.xml | 4 ++-- app/src/main/res/values-v30/themes.xml | 19 +++++++++++++++++++ .../main/res/values-v30/themes_material3.xml | 19 +++++++++++++++++++ 8 files changed, 54 insertions(+), 42 deletions(-) delete mode 100644 app/src/main/res/values-v28/themes.xml delete mode 100644 app/src/main/res/values-v28/themes_material3.xml create mode 100644 app/src/main/res/values-v30/themes.xml create mode 100644 app/src/main/res/values-v30/themes_material3.xml diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml index a22d421c1..c2c9b561e 100644 --- a/app/src/main/res/values-v27/themes.xml +++ b/app/src/main/res/values-v27/themes.xml @@ -9,7 +9,13 @@ + + - - - - + + + +