From fa9ca5f9bf7a39948ec0db62bee16338f103d283 Mon Sep 17 00:00:00 2001
From: Galia Peycheva
Date: Mon, 17 May 2021 18:10:45 +0200
Subject: [PATCH] Add windowIsFloating to window blur documentation
Bug: 182567575
Test: m doc-comment-check-docs
Change-Id: I3ee71c82416e359d077750ae7d0ba8b1b7fbfb29
---
core/java/android/view/Window.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/java/android/view/Window.java b/core/java/android/view/Window.java
index 5fb4e705c8313..23a43591a46e6 100644
--- a/core/java/android/view/Window.java
+++ b/core/java/android/view/Window.java
@@ -1714,8 +1714,9 @@ public abstract class Window {
* The window background drawable is drawn on top of the blurred region. The blur
* region bounds and rounded corners will mimic those of the background drawable.
*
- * For the blur region to be visible, the window has to be translucent. See
- * {@link android.R.styleable#Window_windowIsTranslucent}.
+ * For the blur region to be visible, the window has to be translucent
+ * (see {@link android.R.attr#windowIsTranslucent}) and floating
+ * (see {@link android.R.attr#windowIsFloating}).
*
* Note the difference with {@link WindowManager.LayoutParams#setBlurBehindRadius},
* which blurs the whole screen behind the window. Background blur blurs the screen behind