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
commit7337802a28393eef7dc373881d86500c4eeb4916 (patch)
tree390f7b3888d106a62bc6f073b340b5856296c141
parent2438767d5e901dbb45b0d06575953c24795b4b42 (diff)
parent1f5b53c8c48d222367a6023774d0fb9ed5caeeb6 (diff)
Merge changes from topic "sbHeight" into sc-v2-dev-plus-aosp
* changes: [automerge] [DO NOT MERGE] Update to use new res status bar height dimen 2p: 47fb15fe8c [DO NOT MERGE] Update to use new res status bar height dimen
-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);