summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshawnlin <shawnlin@google.com>2021-10-13 13:13:00 +0800
committershawnlin <shawnlin@google.com>2021-10-13 13:13:00 +0800
commit47a7f2c44f77e9e108d2bb4bd61724a7f79dc498 (patch)
tree28bc7d9ea9f23433bc40be0dc077cc98a500f203
parent450120f13d48a14cc943e3f7ffff3d99002c9200 (diff)
downloadatv-47a7f2c44f77e9e108d2bb4bd61724a7f79dc498.tar.gz
Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that contains cutout size and quick_qs_offset_height anymore. Bug: 186604541 Test: make Change-Id: I5aa09d31d9c762bfd91d167644ab6ef30729972e
-rw-r--r--overlay/TvFrameworkOverlay/res/values/dimens.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/overlay/TvFrameworkOverlay/res/values/dimens.xml b/overlay/TvFrameworkOverlay/res/values/dimens.xml
index ae0514b..7343701 100644
--- a/overlay/TvFrameworkOverlay/res/values/dimens.xml
+++ b/overlay/TvFrameworkOverlay/res/values/dimens.xml
@@ -15,6 +15,10 @@
-->
<resources>
+ <!-- Height of the status bar.
+ Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
+ -->
+ <dimen name="status_bar_height">0dp</dimen>
<!-- Height of the status bar -->
<dimen name="status_bar_height_portrait">0dp</dimen>