summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Johannes Gallmann <gallmann@google.com> 2023-12-18 14:35:46 +0100
committer Johannes Gallmann <gallmann@google.com> 2023-12-19 08:40:57 +0000
commit778d5b04ba83da9b359d84ece3fc9fc980013066 (patch)
treefa51bc47eb06ce9c17ce95ca6c7487886f00fd78
parent89de725cbe44b19a3c84f174338e096500f1e27b (diff)
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
-rw-r--r--packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java b/packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java
index d8c1e41465db..131eb6b63df3 100644
--- a/packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java
+++ b/packages/SystemUI/shared/src/com/android/systemui/shared/system/QuickStepContract.java
@@ -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);