From 7cb1e9f6b86b85f40866920a4a5060ab0ff9a9ac Mon Sep 17 00:00:00 2001 From: Arian Date: Wed, 16 Mar 2022 23:52:44 +0100 Subject: [PATCH] sweet: overlay: Change default status bar height AOSP has changed how the status bar height is determined in commit [1]. Since then status_bar_height_portrait is ignored in favor of getting the height dynamically based on display cutouts. Devices are supposed to keep the default value and let system handle the display cutout. However, we do not have a display cutout but instead change the status bar height to match our heavily rounded corners, which was not taken into consideration in the commit. Hence change the default status bar height directly so that the status bar height matches the rounded corners. [1]: https://github.com/LineageOS/android_frameworks_base/commit/16496cb5c1f9d5e745099de153de1ed921aab9ff Change-Id: I9470fbe9058de3b326e12dc092f94e20faab0a47 --- overlay/frameworks/base/core/res/res/values/dimens.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml index 173e5bd..b581a15 100644 --- a/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -20,7 +20,7 @@ - 93.0px + 93.0px 102.0px