+18
−12
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Some devices may have a cutout which increases the height of the status bar. Use the SystemBarUtil helper class to resolve status bar height that takes into account display cutout if it exists. Create a method to resolve caption height from caption height resource id. This method is overridden for DesktopWindowDecoration to allow it to use status bar height with cutout when using the default status bar height id. Bug: 406296854 Test: atest WMShellUnitTest Flag: EXEMPT trivial bugfix Change-Id: I5c64d54edc8aa2a4219865d36724ebaf173d4e81