diff options
| author | 2024-11-04 11:16:53 +0000 | |
|---|---|---|
| committer | 2024-11-04 11:16:53 +0000 | |
| commit | a946eea32cfc83c59b2ac7a746c41bbfbda09464 (patch) | |
| tree | 78ac9607bce4fe600a5a791b71db1b35474fae35 | |
| parent | beeb0f32e461e02a6e625ba2260c92c79826c9f8 (diff) | |
| parent | d348393e9a23081acbcc5e44ec61a45dea7ab793 (diff) | |
Merge "Don't check the visibility of the source in intersectsAnyInsets" into main
| -rw-r--r-- | services/core/java/com/android/server/wm/DisplayPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/DisplayPolicy.java b/services/core/java/com/android/server/wm/DisplayPolicy.java index c7d57fe89972..8627a473a1ff 100644 --- a/services/core/java/com/android/server/wm/DisplayPolicy.java +++ b/services/core/java/com/android/server/wm/DisplayPolicy.java @@ -3053,7 +3053,7 @@ public class DisplayPolicy { @InsetsType int insetsType) { for (int i = insetsState.sourceSize() - 1; i >= 0; i--) { final InsetsSource source = insetsState.sourceAt(i); - if ((source.getType() & insetsType) == 0 || !source.isVisible()) { + if ((source.getType() & insetsType) == 0) { continue; } if (Rect.intersects(bounds, source.getFrame())) { |