From bbe5be03325bcf1e38118b455a01ff4e3a532502 Mon Sep 17 00:00:00 2001 From: shawnlin Date: Fri, 1 Apr 2022 11:56:09 +0800 Subject: [PATCH] miatoll: overlay: Fixed status bar glitch for apps that access internal resource dimen Bring back old usage of status_bar_height, status_bar_height_portrait, and status_bar_height_landscape by set the size containing cutout size. Bug: 216782082 Test: make Change-Id: I44a5722d3dccf9c47916eb636def6a505eea480f --- overlay/frameworks/base/core/res/res/values/dimens.xml | 3 ++- 1 file changed, 2 insertions(+), 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 93293c8..095f969 100644 --- a/overlay/frameworks/base/core/res/res/values/dimens.xml +++ b/overlay/frameworks/base/core/res/res/values/dimens.xml @@ -13,7 +13,8 @@ --> - 126px + 126px + 126px 24dp