Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev
This commit is contained in:
@@ -251,7 +251,7 @@ public final class WindowInsets {
|
||||
* @return true if any inset values are nonzero
|
||||
*/
|
||||
public boolean hasInsets() {
|
||||
return hasSystemWindowInsets() || hasWindowDecorInsets();
|
||||
return hasSystemWindowInsets() || hasWindowDecorInsets() || hasStableInsets();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user