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

Commit 778d5b04 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Update java doc for getWindowCornerRadius

The corner radius does need to be reloaded on config changes, at least on foldables. Foldables can have different corner radii on the folded and unfolded display.

Bug: 316873212
Flag: NONE
Test: None
Change-Id: I470d0310d3735a0b9a1080978279dbee781ae232
parent 89de725c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -367,7 +367,7 @@ public class QuickStepContract {
    /**
     * Corner radius that should be used on windows in order to cover the display.
     * These values are expressed in pixels because they should not respect display or font
     * scaling, this means that we don't have to reload them on config changes.
     * scaling. The corner radius may change when folding/unfolding the device.
     */
    public static float getWindowCornerRadius(Context context) {
        return ScreenDecorationsUtils.getWindowCornerRadius(context);