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

Commit f0b78eae authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update getWindowCornerRadius javadoc to require display assoicated context" into main

parents cacfc1cf 06a05135
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);