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

Commit 06a05135 authored by Alex Chau's avatar Alex Chau
Browse files

Update getWindowCornerRadius javadoc to require display assoicated context

Bug: 407878199
Test: presubmit
Flag: EXEMPT refactor
Change-Id: I8c8822cf68e201a82512a8437ca12940cbdad890
parent 3062c27f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -414,6 +414,8 @@ 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. The corner radius may change when folding/unfolding the device.
     *
     * @param context A display associated context.
     */
    public static float getWindowCornerRadius(Context context) {
        return ScreenDecorationsUtils.getWindowCornerRadius(context);