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

Commit 7337802a authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

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: 47fb15fe
  [DO NOT MERGE] Update to use new res status bar height dimen
parents 2438767d 1f5b53c8
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);