Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f5b53c8 authored by shawnlin's avatar shawnlin Committed by Presubmit Automerger Backend
Browse files

[automerge] [DO NOT MERGE] Update to use new res status bar height dimen 2p: 47fb15fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17686875

Bug: 216782082
Change-Id: Ia9c43342665872f3a76742c301f8532a20bdc0f7
parents 268453bb 47fb15fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);