summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shawn Lin <shawnlin@google.com> 2022-04-12 02:14:40 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-04-12 02:14:40 +0000
commit2f5827830e5a37bcb536e8724fc9960e256d68b9 (patch)
tree9b007018e8a16f07610751070d223bb29cac33f2
parent4bd91cb16033739892153029a3d50a100003e24f (diff)
parent47fb15fe8c6036253527e78a2bfeef3972923d96 (diff)
Merge "[DO NOT MERGE] Update to use new res status bar height dimen" into sc-v2-dev
-rw-r--r--core/java/com/android/internal/policy/SystemBarUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/policy/SystemBarUtils.java b/core/java/com/android/internal/policy/SystemBarUtils.java
index 5358b96a0f97..7a1ac071a625 100644
--- a/core/java/com/android/internal/policy/SystemBarUtils.java
+++ b/core/java/com/android/internal/policy/SystemBarUtils.java
@@ -73,7 +73,7 @@ public final class SystemBarUtils {
}
}
final int defaultSize =
- context.getResources().getDimensionPixelSize(R.dimen.status_bar_height);
+ context.getResources().getDimensionPixelSize(R.dimen.status_bar_height_default);
// The status bar height should be:
// Max(top cutout size, (status bar default height + waterfall top size))
return Math.max(insets.top, defaultSize + waterfallInsets.top);